# Google Shopping Merchant Notifications V1 Client - Class DeleteNotificationSubscriptionRequest (1.2.1)

1.2.1 (latest) 1.2.0 1.1.3 1.0.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Shopping Merchant Notifications V1 Client class DeleteNotificationSubscriptionRequest.

Request message for the DeleteNotificationSubscription method.

Generated from protobuf message `google.shopping.merchant.notifications.v1.DeleteNotificationSubscriptionRequest`

## Namespace

Google \\ Shopping \\ Merchant \\ Notifications \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the notification subscription to be deleted. |

### getName

Required. The name of the notification subscription to be deleted.

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

### setName

Required. The name of the notification subscription to be deleted.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the notification subscription to be deleted. Please see NotificationsApiServiceClient::notificationSubscriptionName() for help formatting this field. |

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