REST Resource: tagBindings

Resource: TagBinding

A TagBinding represents a connection between a TagValue and a cloud resource (currently project, folder, or organization). Once a TagBinding is created, the TagValue is applied to all the descendants of the cloud resource.

JSON representation
{
  "name": string,
  "parent": string,
  "tagValue": 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.

Methods

create

Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization).

delete

Deletes a TagBinding.

list

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