effective_tag_binding_collections
Creates, updates, deletes, gets or lists an effective_tag_binding_collections
resource.
Overview
Name | effective_tag_binding_collections |
Type | Resource |
Id | google.cloudresourcemanager.effective_tag_binding_collections |
Fields
The following fields are returned by SELECT
queries:
- get
Successful response
Name | Datatype | Description |
---|---|---|
name | 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" |
effectiveTags | object | Tag keys/values effectively bound to this resource, specified in namespaced format. For example: "123/environment": "production" |
fullResourceName | string | The full resource name of the resource the TagBindings are bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123 |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | locationsId , effectiveTagBindingCollectionsId | Returns effective tag bindings on a GCP resource. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
effectiveTagBindingCollectionsId | string | |
locationsId | string |
SELECT
examples
- get
Returns effective tag bindings on a GCP resource.
SELECT
name,
effectiveTags,
fullResourceName
FROM google.cloudresourcemanager.effective_tag_binding_collections
WHERE locationsId = '{{ locationsId }}' -- required
AND effectiveTagBindingCollectionsId = '{{ effectiveTagBindingCollectionsId }}' -- required;