Google Shopping Merchant Products V1beta Client - Class ListProductsResponse (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class ListProductsResponse.

Response message for the ListProducts method.

Generated from protobuf message google.shopping.merchant.products.v1beta.ListProductsResponse

Namespace

Google \ Shopping \ Merchant \ Products \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ products array<Google\Shopping\Merchant\Products\V1beta\Product>

The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getProducts

The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setProducts

The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.

Parameter
Name Description
var array<Google\Shopping\Merchant\Products\V1beta\Product>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this