Reference documentation and code samples for the Google Shopping Merchant Notifications V1 Client class UpdateNotificationSubscriptionRequest.
Request message for the UpdateNotificationSubscription method.
Generated from protobuf message google.shopping.merchant.notifications.v1.UpdateNotificationSubscriptionRequest
Namespace
Google \ Shopping \ Merchant \ Notifications \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ notification_subscription |
NotificationSubscription
Required. The new version of the notification subscription that should be updated. |
↳ update_mask |
Google\Protobuf\FieldMask
List of fields being updated. |
getNotificationSubscription
Required. The new version of the notification subscription that should be updated.
| Returns | |
|---|---|
| Type | Description |
NotificationSubscription|null |
|
hasNotificationSubscription
clearNotificationSubscription
setNotificationSubscription
Required. The new version of the notification subscription that should be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
NotificationSubscription
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
List of fields being updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
List of fields being updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
notificationSubscription |
NotificationSubscription
Required. The new version of the notification subscription that should be updated. |
updateMask |
Google\Protobuf\FieldMask
List of fields being updated. |
| Returns | |
|---|---|
| Type | Description |
UpdateNotificationSubscriptionRequest |
|