Google Cloud Resource Manager V3 Client - Class UpdateTagValueRequest (0.4.1)

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

The request message for updating a TagValue.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tag_value Google\Cloud\ResourceManager\V3\TagValue

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

↳ update_mask Google\Protobuf\FieldMask

Optional. Fields to be updated.

↳ validate_only bool

Optional. True to perform validations necessary for updating the resource, but not actually perform the action.

getTagValue

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup.

Otherwise, ABORTED will be returned.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\TagValue|null

hasTagValue

clearTagValue

setTagValue

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup.

Otherwise, ABORTED will be returned.

Parameter
NameDescription
var Google\Cloud\ResourceManager\V3\TagValue
Returns
TypeDescription
$this

getUpdateMask

Optional. Fields to be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Fields to be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getValidateOnly

Optional. True to perform validations necessary for updating the resource, but not actually perform the action.

Returns
TypeDescription
bool

setValidateOnly

Optional. True to perform validations necessary for updating the resource, but not actually perform the action.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this