Google Cloud Retail V2 Client - Class ListCatalogsResponse (2.0.0-RC1)

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

Response for CatalogService.ListCatalogs method.

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

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ catalogs array<Google\Cloud\Retail\V2\Catalog>

All the customer's Catalogs.

↳ next_page_token string

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

getCatalogs

All the customer's Catalogs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCatalogs

All the customer's Catalogs.

Parameter
Name Description
var array<Google\Cloud\Retail\V2\Catalog>
Returns
Type Description
$this

getNextPageToken

A token that can be sent as ListCatalogsRequest.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 ListCatalogsRequest.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