Cloud Resource Manager API . locations . effectiveTagBindingCollections

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Returns effective tag bindings on a GCP resource.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Returns effective tag bindings on a GCP resource.

Args:
  name: string, Required. The full name of the EffectiveTagBindingCollection in format: `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the resource the TagBindings are bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a collection of effective tag bindings for a GCP resource.
  "effectiveTags": { # Tag keys/values effectively bound to this resource, specified in namespaced format. For example: "123/environment": "production"
    "a_key": "A String",
  },
  "fullResourceName": "A String", # The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123`
  "name": "A String", # Identifier. The name of the EffectiveTagBindingCollection, following the convention: `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
}