Google Cloud Resource Manager V3 Client - Class DeleteTagHoldRequest (0.6.1)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class DeleteTagHoldRequest.

The request message to delete a TagHold.

Generated from protobuf message google.cloud.resourcemanager.v3.DeleteTagHoldRequest

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the TagHold to delete. Must be of the form: tagValues/{tag-value-id}/tagHolds/{tag-hold-id}.

↳ validate_only bool

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

getName

Required. The resource name of the TagHold to delete. Must be of the form: tagValues/{tag-value-id}/tagHolds/{tag-hold-id}.

Returns
TypeDescription
string

setName

Required. The resource name of the TagHold to delete. Must be of the form: tagValues/{tag-value-id}/tagHolds/{tag-hold-id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidateOnly

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

Returns
TypeDescription
bool

setValidateOnly

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the TagHold to delete. Must be of the form: tagValues/{tag-value-id}/tagHolds/{tag-hold-id}. Please see Google\Cloud\ResourceManager\V3\TagHoldsClient::tagHoldName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\DeleteTagHoldRequest