Google

Infrastructure Manager API

Creates and manages Google Cloud Platform resources and infrastructure.

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Creates and manages Google Cloud Platform resources and infrastructure.

Endpoints 29

projects.locations.terraformVersions

  • GETGets details about a TerraformVersion./v1/:nameGets details about a TerraformVersion.
  • GETLists TerraformVersions in a given project and location./v1/:parent/terraformVersions?filter=string&orderBy=string&pageSize=0&pageToken=stringLists TerraformVersions in a given project and location.

projects.locations.previews

  • DELETEDeletes a Preview./v1/:name?requestId=stringDeletes a Preview.
  • GETLists Previews in a given project and location./v1/:parent/previews?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Previews in a given project and location.
  • POSTCreates a Preview./v1/:parent/previews?previewId=string&requestId=stringCreates a Preview.
  • POSTExport Preview results./v1/:parent:exportExport Preview results.

projects.locations.deployments

  • PATCHUpdates a Deployment./v1/:name?requestId=string&updateMask=stringUpdates a Deployment.
  • GETLists Deployments in a given project and location./v1/:parent/deployments?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Deployments in a given project and location.
  • POSTCreates a Deployment./v1/:parent/deployments?deploymentId=string&requestId=stringCreates a Deployment.
  • POSTDeletes Terraform state file in a given deployment./v1/:name:deleteStateDeletes Terraform state file in a given deployment.
  • GETExports the lock info on a locked deployment./v1/:name:exportLockExports the lock info on a locked deployment.
  • GETGets the access control policy for a resource/v1/:resource:getIamPolicy?options.requestedPolicyVersion=0Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
  • POSTImports Terraform state file in a given deployment/v1/:parent:importStateImports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.
  • POSTLocks a deployment./v1/:name:lockLocks a deployment.
  • POSTSets the access control policy on the specified resource/v1/:resource:setIamPolicySets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
  • POSTReturns permissions that a caller has on the specified resource/v1/:resource:testIamPermissionsReturns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND…
  • POSTUnlocks a locked deployment./v1/:name:unlockUnlocks a locked deployment.

projects.locations

  • GETLists information about the supported locations for this service/v1/:name/locations?extraLocationTypes=string&filter=string&pageSize=0&pageToken=stringLists information about the supported locations for this service. This method lists locations based on the resource scope provided in the…

projects.locations.deploymentGroups

  • GETList DeploymentGroups for a given project and location./v1/:parent/deploymentGroups?filter=string&orderBy=string&pageSize=0&pageToken=stringList DeploymentGroups for a given project and location.
  • POSTCreates a DeploymentGroup The newly created DeploymentGroup will be in the `CREATING` state and can be retrieved via…/v1/:parent/deploymentGroups?deploymentGroupId=string&requestId=stringCreates a DeploymentGroup The newly created DeploymentGroup will be in the CREATING state and can be retrieved via Get and List calls.
  • POSTDeprovisions a deployment group/v1/:name:deprovisionDeprovisions a deployment group. NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the *last…
  • POSTProvisions a deployment group/v1/:name:provisionProvisions a deployment group. NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the *last…

projects.locations.deployments.revisions

  • GETLists Revisions of a deployment./v1/:parent/revisions?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Revisions of a deployment.
  • POSTExports Terraform state file from a given revision./v1/:parent:exportStateExports Terraform state file from a given revision.

projects.locations.deployments.revisions.resources

  • GETLists Resources in a given revision./v1/:parent/resources?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Resources in a given revision.

projects.locations.operations

  • POSTStarts asynchronous cancellation on a long-running operation/v1/:name:cancelStarts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the…
  • GETLists operations that match the specified filter in the request/v1/:name/operations?filter=string&pageSize=0&pageToken=string&returnPartialSuccess=trueLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

projects.locations.previews.resourceChanges

  • GETLists ResourceChanges for a given preview./v1/:parent/resourceChanges?filter=string&orderBy=string&pageSize=0&pageToken=stringLists ResourceChanges for a given preview.

projects.locations.previews.resourceDrifts

  • GETList ResourceDrifts for a given preview./v1/:parent/resourceDrifts?filter=string&orderBy=string&pageSize=0&pageToken=stringList ResourceDrifts for a given preview.

API details

Base URL
https://config.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
29 operations on 24 pathsPOST 14GET 13PATCH 1DELETE 1
Main resources
projects.locations.deployments 11projects.locations.deploymentGroups 4projects.locations.previews 4projects.locations.deployments.revisions 2projects.locations.operations 2projects.locations.terraformVersions 2projects.locations 1projects.locations.deployments.revisions.resources 1projects.locations.previews.resourceChanges 1projects.locations.previews.resourceDrifts 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Infrastructure Manager API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Infrastructure Manager API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Gets details about a TerraformVersion.” (GET /v1/:name), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Infrastructure Manager API?

Creates and manages Google Cloud Platform resources and infrastructure. It is listed under Developer tools and has 29 endpoints.

Who publishes the Infrastructure Manager API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Infrastructure Manager API?

Requests go to https://config.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Infrastructure Manager API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.

How many endpoints does the Infrastructure Manager API have?

29 operations on 24 paths (14 POST, 13 GET, 1 PATCH, 1 DELETE). The largest groups are projects.locations.deployments, projects.locations.deploymentGroups, projects.locations.previews, projects.locations.deployments.revisions.

Is forking the Infrastructure Manager API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.