Google Shopping Merchant Inventories V1beta Client - Class ListRegionalInventoriesRequest (0.1.1)

Reference documentation and code samples for the Google Shopping Merchant Inventories V1beta Client class ListRegionalInventoriesRequest.

Request message for the ListRegionalInventories method.

Generated from protobuf message google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest

Namespace

Google \ Shopping \ Merchant \ Inventories \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

↳ page_size int

The maximum number of RegionalInventory resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the pageSize. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

↳ page_token string

A page token, received from a previous ListRegionalInventories call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

getParent

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

Returns
TypeDescription
string

setParent

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of RegionalInventory resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the pageSize. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

Returns
TypeDescription
int

setPageSize

The maximum number of RegionalInventory resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the pageSize. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A page token, received from a previous ListRegionalInventories call.

Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

Returns
TypeDescription
string

setPageToken

A page token, received from a previous ListRegionalInventories call.

Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

Returns
TypeDescription
Google\Shopping\Merchant\Inventories\V1beta\ListRegionalInventoriesRequest