Infrastructure Manager API

Creates and manages Google Cloud Platform resources and infrastructure.

Service: config.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://config.googleapis.com

REST Resource: v1.projects.locations

Methods
get GET /v1/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1.projects.locations.deployments

Methods
create POST /v1/{parent=projects/*/locations/*}/deployments
Creates a Deployment.
delete DELETE /v1/{name=projects/*/locations/*/deployments/*}
Deletes a Deployment.
deleteState POST /v1/{name=projects/*/locations/*/deployments/*}:deleteState
Deletes Terraform state file in a given deployment.
exportLock GET /v1/{name=projects/*/locations/*/deployments/*}:exportLock
Exports the lock info on a locked deployment.
exportState POST /v1/{parent=projects/*/locations/*/deployments/*}:exportState
Exports Terraform state file from a given deployment.
get GET /v1/{name=projects/*/locations/*/deployments/*}
Gets details about a Deployment.
getIamPolicy GET /v1/{resource=projects/*/locations/*/deployments/*}:getIamPolicy
Gets the access control policy for a resource.
importState POST /v1/{parent=projects/*/locations/*/deployments/*}:importState
Imports Terraform state file in a given deployment.
list GET /v1/{parent=projects/*/locations/*}/deployments
Lists Deployments in a given project and location.
lock POST /v1/{name=projects/*/locations/*/deployments/*}:lock
Locks a deployment.
patch PATCH /v1/{deployment.name=projects/*/locations/*/deployments/*}
Updates a Deployment.
setIamPolicy POST /v1/{resource=projects/*/locations/*/deployments/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource=projects/*/locations/*/deployments/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.
unlock POST /v1/{name=projects/*/locations/*/deployments/*}:unlock
Unlocks a locked deployment.

REST Resource: v1.projects.locations.deployments.revisions

Methods
exportState POST /v1/{parent=projects/*/locations/*/deployments/*/revisions/*}:exportState
Exports Terraform state file from a given revision.
get GET /v1/{name=projects/*/locations/*/deployments/*/revisions/*}
Gets details about a Revision.
list GET /v1/{parent=projects/*/locations/*/deployments/*}/revisions
Lists Revisions of a deployment.

REST Resource: v1.projects.locations.deployments.revisions.resources

Methods
get GET /v1/{name=projects/*/locations/*/deployments/*/revisions/*/resources/*}
Gets details about a Resource deployed by Infra Manager.
list GET /v1/{parent=projects/*/locations/*/deployments/*/revisions/*}/resources
Lists Resources in a given revision.

REST Resource: v1.projects.locations.operations

Methods
cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v1/{name=projects/*/locations/*/operations/*}
Deletes a long-running operation.
get GET /v1/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1.projects.locations.previews

Methods
create POST /v1/{parent=projects/*/locations/*}/previews
Creates a Preview.
delete DELETE /v1/{name=projects/*/locations/*/previews/*}
Deletes a Preview.
export POST /v1/{parent=projects/*/locations/*/previews/*}:export
Export Preview results.
get GET /v1/{name=projects/*/locations/*/previews/*}
Gets details about a Preview.
list GET /v1/{parent=projects/*/locations/*}/previews
Lists Previews in a given project and location.

REST Resource: v1.projects.locations.terraformVersions

Methods
get GET /v1/{name=projects/*/locations/*/terraformVersions/*}
Gets details about a TerraformVersion.
list GET /v1/{parent=projects/*/locations/*}/terraformVersions
Lists TerraformVersions in a given project and location.