Google Cloud Retail V2 Client - Class ListCatalogsResponse (1.0.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Generated from protobuf field repeated .google.cloud.retail.v2.Catalog catalogs = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCatalogs

All the customer's Catalogs.

Generated from protobuf field repeated .google.cloud.retail.v2.Catalog catalogs = 1;

Parameter
NameDescription
var array<Google\Cloud\Retail\V2\Catalog>
Returns
TypeDescription
$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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
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.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this