Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class CreateTagHoldRequest.
The request message to create a TagHold.
Generated from protobuf message google.cloud.resourcemanager.v3.CreateTagHoldRequest
Methods
build
parent
string
Required. The resource name of the TagHold's parent TagValue. Must be of
the form: tagValues/{tag-value-id}
. Please see
{@see \Google\Cloud\ResourceManager\V3\TagHoldsClient::tagValueName()} for help formatting this field.
tagHold
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the TagHold's parent TagValue. Must be of the form: tagValues/{tag-value-id}
.
↳ tag_hold
↳ validate_only
bool
Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.
getParent
Required. The resource name of the TagHold's parent TagValue. Must be of
the form: tagValues/{tag-value-id}
.
string
setParent
Required. The resource name of the TagHold's parent TagValue. Must be of
the form: tagValues/{tag-value-id}
.
var
string
$this
getTagHold
Required. The TagHold to be created.
hasTagHold
clearTagHold
setTagHold
Required. The TagHold to be created.
$this
getValidateOnly
Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.
bool
setValidateOnly
Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.
var
bool
$this