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
Namespace
Google \ Cloud \ ResourceManager \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tag_value |
TagValue
Required. The new definition of the TagValue. Only fields |
↳ 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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
TagValue
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Optional. Fields to be updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Fields to be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidateOnly
Optional. True to perform validations necessary for updating the resource, but not actually perform the action.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setValidateOnly
Optional. True to perform validations necessary for updating the resource, but not actually perform the action.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
tagValue |
TagValue
Required. The new definition of the TagValue. Only fields |
updateMask |
Google\Protobuf\FieldMask
Optional. Fields to be updated. |
| Returns | |
|---|---|
| Type | Description |
UpdateTagValueRequest |
|