Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class UpdateTagKeyRequest.
The request message for updating a TagKey.
Generated from protobuf message google.cloud.resourcemanager.v3.UpdateTagKeyRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tag_key
Google\Cloud\ResourceManager\V3\TagKey
Required. The new definition of the TagKey. Only the description
and etag
fields can be updated by this request. If the etag
field is not empty, it must match the etag
field of the existing tag key. Otherwise, ABORTED
will be returned.
↳ update_mask
Google\Protobuf\FieldMask
Fields to be updated. The mask may only contain description
or etag
. If omitted entirely, both description
and etag
are assumed to be significant.
↳ validate_only
bool
Set as true to perform validations necessary for updating the resource, but not actually perform the action.
getTagKey
Required. The new definition of the TagKey. Only the description
and etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise, ABORTED
will be returned.
hasTagKey
clearTagKey
setTagKey
Required. The new definition of the TagKey. Only the description
and etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise, ABORTED
will be returned.
$this
getUpdateMask
Fields to be updated. The mask may only contain description
or etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
hasUpdateMask
clearUpdateMask
setUpdateMask
Fields to be updated. The mask may only contain description
or etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
$this
getValidateOnly
Set as true to perform validations necessary for updating the resource, but not actually perform the action.
bool
setValidateOnly
Set as true to perform validations necessary for updating the resource, but not actually perform the action.
var
bool
$this