Method: tagValues.tagHolds.create

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

HTTP request

POST https://cloudresourcemanager.googleapis.com/v3/{parent=tagValues/*}/tagHolds

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
validateOnly

boolean

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

Request body

The request body contains an instance of TagHold.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.