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

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setCatalogItems

The catalog items.

Parameter
Name Description
var array<Google\Cloud\RecommendationEngine\V1beta1\CatalogItem>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this