Google Cloud Resource Manager V3 Client - Class DeleteTagValueRequest (0.7.2)

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

The request message for deleting a TagValue.

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

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name for TagValue to be deleted in the format tagValues/456.

↳ validate_only bool

Optional. Set as true to perform the validations necessary for deletion, but not actually perform the action.

↳ etag string

Optional. The etag known to the client for the expected state of the TagValue. This is to be used for optimistic concurrency.

getName

Required. Resource name for TagValue to be deleted in the format tagValues/456.

Returns
TypeDescription
string

setName

Required. Resource name for TagValue to be deleted in the format tagValues/456.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidateOnly

Optional. Set as true to perform the validations necessary for deletion, but not actually perform the action.

Returns
TypeDescription
bool

setValidateOnly

Optional. Set as true to perform the validations necessary for deletion, but not actually perform the action.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEtag

Optional. The etag known to the client for the expected state of the TagValue. This is to be used for optimistic concurrency.

Returns
TypeDescription
string

setEtag

Optional. The etag known to the client for the expected state of the TagValue. This is to be used for optimistic concurrency.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Resource name for TagValue to be deleted in the format tagValues/456. Please see Google\Cloud\ResourceManager\V3\TagValuesClient::tagValueName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\DeleteTagValueRequest