Creates, reads, and updates metadata for Google Cloud Platform resource containers.
- REST Resource: v3.effectiveTags
- REST Resource: v3.folders
- REST Resource: v3.folders.capabilities
- REST Resource: v3.liens
- REST Resource: v3.locations.effectiveTagBindingCollections
- REST Resource: v3.locations.tagBindingCollections
- REST Resource: v3.operations
- REST Resource: v3.organizations
- REST Resource: v3.projects
- REST Resource: v3.tagBindings
- REST Resource: v3.tagKeys
- REST Resource: v3.tagValues
- REST Resource: v3.tagValues.tagHolds
- REST Resource: v2beta1.folders
- REST Resource: v2.folders
- REST Resource: v1beta1.organizations
- REST Resource: v1beta1.projects
- REST Resource: v1.folders
- REST Resource: v1.liens
- REST Resource: v1.operations
- REST Resource: v1.organizations
- REST Resource: v1.projects
Service: cloudresourcemanager.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 documents:
- https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v3
- https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2
- https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2beta1
- https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1
- https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1beta1
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://cloudresourcemanager.googleapis.com
REST Resource: v3.effectiveTags
| Methods | |
|---|---|
| list | GET /v3/effectiveTagsReturn a list of effective tags for the given Google Cloud resource, as specified in parent. | 
REST Resource: v3.folders
| Methods | |
|---|---|
| create | POST /v3/foldersCreates a folder in the resource hierarchy. | 
| delete | DELETE /v3/{name=folders/*}Requests deletion of a folder. | 
| get | GET /v3/{name=folders/*}Retrieves a folder identified by the supplied resource name. | 
| getIamPolicy | POST /v3/{resource=folders/*}:getIamPolicyGets the access control policy for a folder. | 
| list | GET /v3/foldersLists the folders that are direct descendants of supplied parent resource. | 
| move | POST /v3/{name=folders/*}:moveMoves a folder under a new resource parent. | 
| patch | PATCH /v3/{folder.name=folders/*}Updates a folder, changing its display_name. | 
| search | GET /v3/folders:searchSearch for folders that match specific filter criteria. | 
| setIamPolicy | POST /v3/{resource=folders/*}:setIamPolicySets the access control policy on a folder, replacing any existing policy. | 
| testIamPermissions | POST /v3/{resource=folders/*}:testIamPermissionsReturns permissions that a caller has on the specified folder. | 
| undelete | POST /v3/{name=folders/*}:undeleteCancels the deletion request for a folder. | 
REST Resource: v3.folders.capabilities
| Methods | |
|---|---|
| get | GET /v3/{name=folders/*/capabilities/*}Retrieves the Capability identified by the supplied resource name. | 
| patch | PATCH /v3/{capability.name=folders/*/capabilities/*}Updates the Capability. | 
REST Resource: v3.liens
| Methods | |
|---|---|
| create | POST /v3/liensCreate a Lien which applies to the resource denoted by the parentfield. | 
| delete | DELETE /v3/{name=liens/**}Delete a Lien by name. | 
| get | GET /v3/{name=liens/**}Retrieve a Lien by name. | 
| list | GET /v3/liensList all Liens applied to the parentresource. | 
REST Resource: v3.locations.effectiveTagBindingCollections
| Methods | |
|---|---|
| get | GET /v3/{name=locations/*/effectiveTagBindingCollections/*}Returns effective tag bindings on a Google Cloud resource. | 
REST Resource: v3.locations.tagBindingCollections
| Methods | |
|---|---|
| get | GET /v3/{name=locations/*/tagBindingCollections/*}Returns tag bindings directly attached to a Google Cloud resource. | 
| patch | PATCH /v3/{tagBindingCollection.name=locations/*/tagBindingCollections/*}Updates tag bindings directly attached to a Google Cloud resource. | 
REST Resource: v3.operations
| Methods | |
|---|---|
| get | GET /v3/{name=operations/**}Gets the latest state of a long-running operation. | 
REST Resource: v3.organizations
| Methods | |
|---|---|
| get | GET /v3/{name=organizations/*}Fetches an organization resource identified by the specified resource name. | 
| getIamPolicy | POST /v3/{resource=organizations/*}:getIamPolicyGets the access control policy for an organization resource. | 
| search | GET /v3/organizations:searchSearches organization resources that are visible to the user and satisfy the specified filter. | 
| setIamPolicy | POST /v3/{resource=organizations/*}:setIamPolicySets the access control policy on an organization resource. | 
| testIamPermissions | POST /v3/{resource=organizations/*}:testIamPermissionsReturns the permissions that a caller has on the specified organization. | 
REST Resource: v3.projects
| Methods | |
|---|---|
| create | POST /v3/projectsRequest that a new project be created. | 
| delete | DELETE /v3/{name=projects/*}Marks the project identified by the specified name(for example,projects/415104041262) for deletion. | 
| get | GET /v3/{name=projects/*}Retrieves the project identified by the specified name(for example,projects/415104041262). | 
| getIamPolicy | POST /v3/{resource=projects/*}:getIamPolicyReturns the IAM access control policy for the specified project, in the format projects/{ProjectIdOrNumber}e.g. | 
| list | GET /v3/projectsLists projects that are direct children of the specified folder or organization resource. | 
| move | POST /v3/{name=projects/*}:moveMove a project to another place in your resource hierarchy, under a new resource parent. | 
| patch | PATCH /v3/{project.name=projects/*}Updates the display_nameand labels of the project identified by the specifiedname(for example,projects/415104041262). | 
| search | GET /v3/projects:searchSearch for projects that the caller has the resourcemanager.projects.getpermission on, and also satisfy the specified query. | 
| setIamPolicy | POST /v3/{resource=projects/*}:setIamPolicySets the IAM access control policy for the specified project, in the format projects/{ProjectIdOrNumber}e.g. | 
| testIamPermissions | POST /v3/{resource=projects/*}:testIamPermissionsReturns permissions that a caller has on the specified project, in the format projects/{ProjectIdOrNumber}e.g. | 
| undelete | POST /v3/{name=projects/*}:undeleteRestores the project identified by the specified name(for example,projects/415104041262). | 
REST Resource: v3.tagBindings
| Methods | |
|---|---|
| create | POST /v3/tagBindingsCreates a TagBinding between a TagValue and a Google Cloud resource. | 
| delete | DELETE /v3/{name=tagBindings/**}Deletes a TagBinding. | 
| list | GET /v3/tagBindingsLists the TagBindings for the given Google Cloud resource, as specified with parent. | 
REST Resource: v3.tagKeys
| Methods | |
|---|---|
| create | POST /v3/tagKeysCreates a new TagKey. | 
| delete | DELETE /v3/{name=tagKeys/*}Deletes a TagKey. | 
| get | GET /v3/{name=tagKeys/*}Retrieves a TagKey. | 
| getIamPolicy | POST /v3/{resource=tagKeys/*}:getIamPolicyGets the access control policy for a TagKey. | 
| getNamespaced | GET /v3/tagKeys/namespacedRetrieves a TagKey by its namespaced name. | 
| list | GET /v3/tagKeysLists all TagKeys for a parent resource. | 
| patch | PATCH /v3/{tagKey.name=tagKeys/*}Updates the attributes of the TagKey resource. | 
| setIamPolicy | POST /v3/{resource=tagKeys/*}:setIamPolicySets the access control policy on a TagKey, replacing any existing policy. | 
| testIamPermissions | POST /v3/{resource=tagKeys/*}:testIamPermissionsReturns permissions that a caller has on the specified TagKey. | 
REST Resource: v3.tagValues
| Methods | |
|---|---|
| create | POST /v3/tagValuesCreates a TagValue as a child of the specified TagKey. | 
| delete | DELETE /v3/{name=tagValues/*}Deletes a TagValue. | 
| get | GET /v3/{name=tagValues/*}Retrieves a TagValue. | 
| getIamPolicy | POST /v3/{resource=tagValues/*}:getIamPolicyGets the access control policy for a TagValue. | 
| getNamespaced | GET /v3/tagValues/namespacedRetrieves a TagValue by its namespaced name. | 
| list | GET /v3/tagValuesLists all TagValues for a specific TagKey. | 
| patch | PATCH /v3/{tagValue.name=tagValues/*}Updates the attributes of the TagValue resource. | 
| setIamPolicy | POST /v3/{resource=tagValues/*}:setIamPolicySets the access control policy on a TagValue, replacing any existing policy. | 
| testIamPermissions | POST /v3/{resource=tagValues/*}:testIamPermissionsReturns permissions that a caller has on the specified TagValue. | 
REST Resource: v3.tagValues.tagHolds
| Methods | |
|---|---|
| create | POST /v3/{parent=tagValues/*}/tagHoldsCreates a TagHold. | 
| delete | DELETE /v3/{name=tagValues/*/tagHolds/*}Deletes a TagHold. | 
| list | GET /v3/{parent=tagValues/*}/tagHoldsLists TagHolds under a TagValue. | 
REST Resource: v2beta1.folders
| Methods | |
|---|---|
| create | POST /v2beta1/foldersCreates a Folder in the resource hierarchy. | 
| delete | DELETE /v2beta1/{name=folders/*}Requests deletion of a Folder. | 
| get | GET /v2beta1/{name=folders/*}Retrieves a Folder identified by the supplied resource name. | 
| getIamPolicy | POST /v2beta1/{resource=folders/*}:getIamPolicyGets the access control policy for a Folder. | 
| list | GET /v2beta1/foldersLists the Folders that are direct descendants of supplied parent resource. | 
| move | POST /v2beta1/{name=folders/*}:moveMoves a Folder under a new resource parent. | 
| patch | PATCH /v2beta1/{folder.name=folders/*}Updates a Folder, changing its display_name. | 
| search | POST /v2beta1/folders:searchSearch for folders that match specific filter criteria. | 
| setIamPolicy | POST /v2beta1/{resource=folders/*}:setIamPolicySets the access control policy on a Folder, replacing any existing policy. | 
| testIamPermissions | POST /v2beta1/{resource=folders/*}:testIamPermissionsReturns permissions that a caller has on the specified Folder. | 
| undelete | POST /v2beta1/{name=folders/*}:undeleteCancels the deletion request for a Folder. | 
REST Resource: v2.folders
| Methods | |
|---|---|
| create | POST /v2/foldersCreates a Folder in the resource hierarchy. | 
| delete | DELETE /v2/{name=folders/*}Requests deletion of a Folder. | 
| get | GET /v2/{name=folders/*}Retrieves a Folder identified by the supplied resource name. | 
| getIamPolicy | POST /v2/{resource=folders/*}:getIamPolicyGets the access control policy for a Folder. | 
| list | GET /v2/foldersLists the Folders that are direct descendants of supplied parent resource. | 
| move | POST /v2/{name=folders/*}:moveMoves a Folder under a new resource parent. | 
| patch | PATCH /v2/{folder.name=folders/*}Updates a Folder, changing its display_name. | 
| search | POST /v2/folders:searchSearch for folders that match specific filter criteria. | 
| setIamPolicy | POST /v2/{resource=folders/*}:setIamPolicySets the access control policy on a Folder, replacing any existing policy. | 
| testIamPermissions | POST /v2/{resource=folders/*}:testIamPermissionsReturns permissions that a caller has on the specified Folder. | 
| undelete | POST /v2/{name=folders/*}:undeleteCancels the deletion request for a Folder. | 
REST Resource: v1beta1.organizations
| Methods | |
|---|---|
| get | GET /v1beta1/{name=organizations/*}Fetches an Organization resource identified by the specified resource name. | 
| getIamPolicy | POST /v1beta1/{resource=organizations/*}:getIamPolicyGets the access control policy for an Organization resource. | 
| list | GET /v1beta1/organizationsLists Organization resources that are visible to the user and satisfy the specified filter. | 
| setIamPolicy | POST /v1beta1/{resource=organizations/*}:setIamPolicySets the access control policy on an Organization resource. | 
| testIamPermissions | POST /v1beta1/{resource=organizations/*}:testIamPermissionsReturns permissions that a caller has on the specified Organization. | 
| update  | PUT /v1beta1/{name=organizations/*}Updates an Organization resource identified by the specified resource name. | 
REST Resource: v1beta1.projects
| Methods | |
|---|---|
| create | POST /v1beta1/projectsCreates a Project resource. | 
| delete | DELETE /v1beta1/projects/{projectId}Marks the Project identified by the specified project_id(for example,my-project-123) for deletion. | 
| get | GET /v1beta1/projects/{projectId}Retrieves the Project identified by the specified project_id(for example,my-project-123). | 
| getAncestry | POST /v1beta1/projects/{projectId}:getAncestryGets a list of ancestors in the resource hierarchy for the Project identified by the specified project_id(for example,my-project-123). | 
| getIamPolicy | POST /v1beta1/projects/{resource}:getIamPolicyReturns the IAM access control policy for the specified Project. | 
| list | GET /v1beta1/projectsLists Projects that the caller has the resourcemanager.projects.getpermission on and satisfy the specified filter. | 
| setIamPolicy | POST /v1beta1/projects/{resource}:setIamPolicySets the IAM access control policy for the specified Project. | 
| testIamPermissions | POST /v1beta1/projects/{resource}:testIamPermissionsReturns permissions that a caller has on the specified Project. | 
| undelete | POST /v1beta1/projects/{projectId}:undeleteRestores the Project identified by the specified project_id(for example,my-project-123). | 
| update | PUT /v1beta1/projects/{projectId}Updates the attributes of the Project identified by the specified project_id(for example,my-project-123). | 
REST Resource: v1.folders
| Methods | |
|---|---|
| clearOrgPolicy | POST /v1/{resource=folders/*}:clearOrgPolicyClears a Policyfrom a resource. | 
| getEffectiveOrgPolicy | POST /v1/{resource=folders/*}:getEffectiveOrgPolicyGets the effective Policyon a resource. | 
| getOrgPolicy | POST /v1/{resource=folders/*}:getOrgPolicyGets a Policyon a resource. | 
| listAvailableOrgPolicyConstraints | POST /v1/{resource=folders/*}:listAvailableOrgPolicyConstraintsLists Constraintsthat could be applied on the specified resource. | 
| listOrgPolicies | POST /v1/{resource=folders/*}:listOrgPoliciesLists all the Policiesset for a particular resource. | 
| setOrgPolicy | POST /v1/{resource=folders/*}:setOrgPolicyUpdates the specified Policyon the resource. | 
REST Resource: v1.liens
| Methods | |
|---|---|
| create | POST /v1/liensCreate a Lien which applies to the resource denoted by the parentfield. | 
| delete | DELETE /v1/{name=liens/**}Delete a Lien by name. | 
| get | GET /v1/{name=liens/**}Retrieve a Lien by name. | 
| list | GET /v1/liensList all Liens applied to the parentresource. | 
REST Resource: v1.operations
| Methods | |
|---|---|
| get | GET /v1/{name=operations/**}Gets the latest state of a long-running operation. | 
REST Resource: v1.organizations
| Methods | |
|---|---|
| clearOrgPolicy | POST /v1/{resource=organizations/*}:clearOrgPolicyClears a Policyfrom a resource. | 
| get | GET /v1/{name=organizations/*}Fetches an Organization resource identified by the specified resource name. | 
| getEffectiveOrgPolicy | POST /v1/{resource=organizations/*}:getEffectiveOrgPolicyGets the effective Policyon a resource. | 
| getIamPolicy | POST /v1/{resource=organizations/*}:getIamPolicyGets the access control policy for an Organization resource. | 
| getOrgPolicy | POST /v1/{resource=organizations/*}:getOrgPolicyGets a Policyon a resource. | 
| listAvailableOrgPolicyConstraints | POST /v1/{resource=organizations/*}:listAvailableOrgPolicyConstraintsLists Constraintsthat could be applied on the specified resource. | 
| listOrgPolicies | POST /v1/{resource=organizations/*}:listOrgPoliciesLists all the Policiesset for a particular resource. | 
| search | POST /v1/organizations:searchSearches Organization resources that are visible to the user and satisfy the specified filter. | 
| setIamPolicy | POST /v1/{resource=organizations/*}:setIamPolicySets the access control policy on an Organization resource. | 
| setOrgPolicy | POST /v1/{resource=organizations/*}:setOrgPolicyUpdates the specified Policyon the resource. | 
| testIamPermissions | POST /v1/{resource=organizations/*}:testIamPermissionsReturns permissions that a caller has on the specified Organization. | 
REST Resource: v1.projects
| Methods | |
|---|---|
| clearOrgPolicy | POST /v1/{resource=projects/*}:clearOrgPolicyClears a Policyfrom a resource. | 
| create | POST /v1/projectsRequest that a new Project be created. | 
| delete | DELETE /v1/projects/{projectId}Marks the Project identified by the specified project_id(for example,my-project-123) for deletion. | 
| get | GET /v1/projects/{projectId}Retrieves the Project identified by the specified project_id(for example,my-project-123). | 
| getAncestry | POST /v1/projects/{projectId}:getAncestryGets a list of ancestors in the resource hierarchy for the Project identified by the specified project_id(for example,my-project-123). | 
| getEffectiveOrgPolicy | POST /v1/{resource=projects/*}:getEffectiveOrgPolicyGets the effective Policyon a resource. | 
| getIamPolicy | POST /v1/projects/{resource}:getIamPolicyReturns the IAM access control policy for the specified Project. | 
| getOrgPolicy | POST /v1/{resource=projects/*}:getOrgPolicyGets a Policyon a resource. | 
| list | GET /v1/projectsLists Projects that the caller has the resourcemanager.projects.getpermission on and satisfy the specified filter. | 
| listAvailableOrgPolicyConstraints | POST /v1/{resource=projects/*}:listAvailableOrgPolicyConstraintsLists Constraintsthat could be applied on the specified resource. | 
| listOrgPolicies | POST /v1/{resource=projects/*}:listOrgPoliciesLists all the Policiesset for a particular resource. | 
| setIamPolicy | POST /v1/projects/{resource}:setIamPolicySets the IAM access control policy for the specified Project. | 
| setOrgPolicy | POST /v1/{resource=projects/*}:setOrgPolicyUpdates the specified Policyon the resource. | 
| testIamPermissions | POST /v1/projects/{resource}:testIamPermissionsReturns permissions that a caller has on the specified Project. | 
| undelete | POST /v1/projects/{projectId}:undeleteRestores the Project identified by the specified project_id(for example,my-project-123). | 
| update | PUT /v1/projects/{projectId}Updates the attributes of the Project identified by the specified project_id(for example,my-project-123). |