Google Cloud Recommendation Engine V1beta1 Client - Class ListCatalogItemsRequest (0.7.7)

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

Request message for ListCatalogItems method.

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

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

↳ page_size int

Optional. Maximum number of results to return per page. If zero, the service will choose a reasonable default.

↳ page_token string

Optional. The previous ListCatalogItemsResponse.next_page_token.

↳ filter string

Optional. A filter to apply on the list results.

getParent

Required. The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Returns
Type Description
string

setParent

Required. The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Maximum number of results to return per page. If zero, the service will choose a reasonable default.

Returns
Type Description
int

setPageSize

Optional. Maximum number of results to return per page. If zero, the service will choose a reasonable default.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The previous ListCatalogItemsResponse.next_page_token.

Returns
Type Description
string

setPageToken

Optional. The previous ListCatalogItemsResponse.next_page_token.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. A filter to apply on the list results.

Returns
Type Description
string

setFilter

Optional. A filter to apply on the list results.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog. Please see CatalogServiceClient::catalogName() for help formatting this field.

filter string

Optional. A filter to apply on the list results.

Returns
Type Description
ListCatalogItemsRequest