# Google Shopping Css V1 Client - Class DeleteAccountLabelRequest (0.8.1)

0.8.1 (latest) 0.8.0 0.7.3 0.6.2 0.5.1 0.4.1 0.3.3 0.2.9 0.1.0 Reference documentation and code samples for the Google Shopping Css V1 Client class DeleteAccountLabelRequest.

Request message for the 'DeleteAccountLabel' method.

Generated from protobuf message `google.shopping.css.v1.DeleteAccountLabelRequest`

## Namespace

Google \\ Shopping \\ Css \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the label to delete. Format: accounts/{account}/labels/{label} |

### getName

Required. The name of the label to delete.

Format: accounts/{account}/labels/{label}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. The name of the label to delete.

Format: accounts/{account}/labels/{label}

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the label to delete. Format: accounts/{account}/labels/{label} Please see AccountLabelsServiceClient::accountLabelName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.DeleteAccountLabelRequest` |   |