# Google Cloud Resource Manager V3 Client - Class UpdateTagValueRequest (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.8.5 0.7.2 0.6.1 0.5.0 0.4.1 0.3.9 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 \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tag_value` | `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/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` | `https://protobuf.dev/reference/php/api-docs/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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/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** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/V3.TagValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateMask

Optional. Fields to be updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Fields to be updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/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` | `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/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. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Fields to be updated. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/V3.UpdateTagValueRequest` |   |