# Google Cloud Resource Manager V3 Client - Class DeleteTagValueRequest (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 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** ||
|---|---|
| **Name** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getValidateOnly

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setValidateOnly

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Resource name for TagValue to be deleted in the format tagValues/456. Please see TagValuesClient::tagValueName() for help formatting this field. |

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