Google Cloud Recommendation Engine V1beta1 Client - Class ListCatalogItemsResponse (0.6.4)

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class ListCatalogItemsResponse.

Response message for ListCatalogItems method.

Generated from protobuf message google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ catalog_items array<Google\Cloud\RecommendationEngine\V1beta1\CatalogItem>

The catalog items.

↳ next_page_token string

If empty, the list is complete. If nonempty, the token to pass to the next request's ListCatalogItemRequest.page_token.

getCatalogItems

The catalog items.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCatalogItems

The catalog items.

Parameter
NameDescription
var array<Google\Cloud\RecommendationEngine\V1beta1\CatalogItem>
Returns
TypeDescription
$this

getNextPageToken

If empty, the list is complete. If nonempty, the token to pass to the next request's ListCatalogItemRequest.page_token.

Returns
TypeDescription
string

setNextPageToken

If empty, the list is complete. If nonempty, the token to pass to the next request's ListCatalogItemRequest.page_token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this