Google Cloud Retail V2 Client - Class ListProductsResponse (1.6.4)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ListProductsResponse.

Response message for ProductService.ListProducts method.

Generated from protobuf message google.cloud.retail.v2.ListProductsResponse

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ products
↳ next_page_token
string

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

getProducts

The Product s.

Returns
Type
Description

setProducts

The Product s.

Parameter
Name
Description
Returns
Type
Description
$this

getNextPageToken

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

Returns
Type
Description
string

setNextPageToken

A token that can be sent as ListProductsRequest.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
Design a Mobile Site
View Site in Mobile | Classic
Share by: