Reference documentation and code samples for the Google Shopping Merchant Notifications V1beta Client class UpdateNotificationSubscriptionRequest.
Request message for the UpdateNotificationSubscription method.
Generated from protobuf message google.shopping.merchant.notifications.v1beta.UpdateNotificationSubscriptionRequest
Namespace
Google \ Shopping \ Merchant \ Notifications \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ notification_subscription |
Google\Shopping\Merchant\Notifications\V1beta\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 |
Google\Shopping\Merchant\Notifications\V1beta\NotificationSubscription|null |
hasNotificationSubscription
clearNotificationSubscription
setNotificationSubscription
Required. The new version of the notification subscription that should be updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Shopping\Merchant\Notifications\V1beta\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 |
Google\Shopping\Merchant\Notifications\V1beta\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 |
Google\Shopping\Merchant\Notifications\V1beta\UpdateNotificationSubscriptionRequest |