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
Name
Description
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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
getValidateOnly
Optional. Set to true to perform the validations necessary for deleting the
resource, but not actually perform the action.
Returns
Type
Description
bool
setValidateOnly
Optional. Set to true to perform the validations necessary for deleting the
resource, but not actually perform the action.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
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
TagHoldsClient::tagHoldName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Resource Manager V3 Client - Class DeleteTagHoldRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-resource-manager/latest/V3.DeleteTagHoldRequest)\n- [1.0.3](/php/docs/reference/cloud-resource-manager/1.0.3/V3.DeleteTagHoldRequest)\n- [0.8.5](/php/docs/reference/cloud-resource-manager/0.8.5/V3.DeleteTagHoldRequest)\n- [0.7.2](/php/docs/reference/cloud-resource-manager/0.7.2/V3.DeleteTagHoldRequest)\n- [0.6.1](/php/docs/reference/cloud-resource-manager/0.6.1/V3.DeleteTagHoldRequest)\n- [0.5.0](/php/docs/reference/cloud-resource-manager/0.5.0/V3.DeleteTagHoldRequest)\n- [0.4.1](/php/docs/reference/cloud-resource-manager/0.4.1/V3.DeleteTagHoldRequest)\n- [0.3.9](/php/docs/reference/cloud-resource-manager/0.3.9/V3.DeleteTagHoldRequest) \nReference documentation and code samples for the Google Cloud Resource Manager V3 Client class DeleteTagHoldRequest.\n\nThe request message to delete a TagHold.\n\nGenerated from protobuf message `google.cloud.resourcemanager.v3.DeleteTagHoldRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ResourceManager \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the TagHold to delete. Must be of the form:\n`tagValues/{tag-value-id}/tagHolds/{tag-hold-id}`.\n\n### setName\n\nRequired. The resource name of the TagHold to delete. Must be of the form:\n`tagValues/{tag-value-id}/tagHolds/{tag-hold-id}`.\n\n### getValidateOnly\n\nOptional. Set to true to perform the validations necessary for deleting the\nresource, but not actually perform the action.\n\n### setValidateOnly\n\nOptional. Set to true to perform the validations necessary for deleting the\nresource, but not actually perform the action.\n\n### static::build"]]