v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132865105.6 KB
tagBindings

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

post/v3/tagBindings

Query parameters

validateOnlyboolean

Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

Request body

namestring

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) or tagBindings/{full-resource-name}/{tag-key-name} (e.g. tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagKeys/123).

tagValuestring

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

tagValueNamespacedNamestring

The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}. For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.

parentstring

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

Response

Successful response