# REST Resource: locations.tagBindingCollections

- [Resource: TagBindingCollection](https://docs.cloud.google.com/resource-manager/reference/rest/v3/locations.tagBindingCollections#TagBindingCollection)
  - [JSON representation](https://docs.cloud.google.com/resource-manager/reference/rest/v3/locations.tagBindingCollections#TagBindingCollection.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/resource-manager/reference/rest/v3/locations.tagBindingCollections#METHODS_SUMMARY)

## Resource: TagBindingCollection

Represents a collection of tags directly bound to a Google Cloud resource.

| JSON representation |
|---|
| ``` { "name": string, "fullResourceName": string, "tags": { string: string, ... }, "etag": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the Google Cloud resource the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" |
| `fullResourceName` | `string` The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123` |
| `tags` | `map (key: string, value: string)` Tag keys/values directly bound to this resource, specified in namespaced format. For example: "123/environment": "production" |
| `etag` | `string` Optional. A checksum based on the current bindings which can be passed to prevent race conditions. This field is always set in server responses. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/resource-manager/reference/rest/v3/locations.tagBindingCollections/get` | Returns tag bindings directly attached to a Google Cloud resource. |
| ### `https://docs.cloud.google.com/resource-manager/reference/rest/v3/locations.tagBindingCollections/patch` | Updates tag bindings directly attached to a Google Cloud resource. |