Reference documentation and code samples for the Google Shopping Merchant Notifications V1beta Client class CreateNotificationSubscriptionRequest.
Request message for the CreateNotificationSubscription method.
Generated from protobuf message google.shopping.merchant.notifications.v1beta.CreateNotificationSubscriptionRequest
Namespace
Google \ Shopping \ Merchant \ Notifications \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The merchant account that owns the new notification subscription. Format: |
↳ notification_subscription |
NotificationSubscription
Required. The notification subscription to create. |
getParent
Required. The merchant account that owns the new notification subscription.
Format: accounts/{account}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The merchant account that owns the new notification subscription.
Format: accounts/{account}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNotificationSubscription
Required. The notification subscription to create.
Returns | |
---|---|
Type | Description |
NotificationSubscription|null |
hasNotificationSubscription
clearNotificationSubscription
setNotificationSubscription
Required. The notification subscription to create.
Parameter | |
---|---|
Name | Description |
var |
NotificationSubscription
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The merchant account that owns the new notification subscription.
Format: |
notificationSubscription |
NotificationSubscription
Required. The notification subscription to create. |
Returns | |
---|---|
Type | Description |
CreateNotificationSubscriptionRequest |