Google Shopping Merchant Notifications V1beta Client - Class ListNotificationSubscriptionsRequest (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Notifications V1beta Client class ListNotificationSubscriptionsRequest.

Request message for the ListNotificationSubscription method.

Generated from protobuf message google.shopping.merchant.notifications.v1beta.ListNotificationSubscriptionsRequest

Namespace

Google \ Shopping \ Merchant \ Notifications \ V1beta

Methods

__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: accounts/{account}

↳ page_size int

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.

↳ 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: accounts/{account} Please see Google\Shopping\Merchant\Notifications\V1beta\NotificationsApiServiceClient::accountName() for help formatting this field.

Returns
Type Description
Google\Shopping\Merchant\Notifications\V1beta\ListNotificationSubscriptionsRequest