REST Resource: tagBindings

Resource: TagBinding

A TagBinding represents a connection between a TagValue and a cloud resource Once a TagBinding is created, the TagValue is applied to all the descendants of the Google Cloud resource.

JSON representation
{
  "name": string,
  "parent": string,
  "tagValue": string,
  "tagValueNamespacedName": string
}
Fields
name

string

Output only. The name of the TagBinding. This is a String of the form: tagBindings/{full-resource-name}/{tag-value-name} (e.g. tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456).

parent

string

The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123

tagValue

string

The TagValue of the TagBinding. Must be of the form tagValues/456.

tagValueNamespacedName

string

The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{shortName}.

For methods that support TagValue namespaced name, only one of tagValueNamespacedName or tagValue may be filled. Requests with both fields will be rejected.

Methods

create

Creates a TagBinding between a TagValue and a Google Cloud resource.

delete

Deletes a TagBinding.

list

Lists the TagBindings for the given Google Cloud resource, as specified with parent.