Reference documentation and code samples for the Google Shopping Merchant Notifications V1 Client class ListNotificationSubscriptionsRequest.
Request message for the ListNotificationSubscription method.
Generated from protobuf message google.shopping.merchant.notifications.v1.ListNotificationSubscriptionsRequest
Namespace
Google \ Shopping \ Merchant \ Notifications \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The merchant account who owns the notification subscriptions. Format: |
↳ page_size |
int
The maximum number of notification subscriptions to return in a page. The default value for |
↳ page_token |
string
Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token. |
getParent
Required. The merchant account who owns the notification subscriptions.
Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The merchant account who owns the notification subscriptions.
Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
The maximum number of notification subscriptions to return in a page.
The default value for page_size is 100. The
maximum value is 200. Values above 200 will be coerced to 200.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
The maximum number of notification subscriptions to return in a page.
The default value for page_size is 100. The
maximum value is 200. Values above 200 will be coerced to 200.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The merchant account who owns the notification subscriptions.
Format: |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsRequest |
|