v1

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

Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.

post/v3/{+parent}/tagHolds

Path parameters

parentstring required

Required. The resource name of the TagHold's parent TagValue. Must be of the form: tagValues/{tag-value-id}.

Query parameters

validateOnlyboolean

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

Request body

originstring

Optional. An optional string representing the origin of this request. This field should include human-understandable information to distinguish origins from each other. Must be less than 200 characters. E.g. migs-35678234

helpLinkstring

Optional. A URL where an end user can learn more about removing this hold. E.g. https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing

createTimestring google-datetime

Output only. The time this TagHold was created.

namestring

Output only. The resource name of a TagHold. This is a String of the form: tagValues/{tag-value-id}/tagHolds/{tag-hold-id} (e.g. tagValues/123/tagHolds/456). This resource name is generated by the server.

holderstring

Required. The name of the resource where the TagValue is being used. Must be less than 200 characters. E.g. //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group

Response

Successful response