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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Returns
TypeDescription
int

setPageSize

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. The previous ListCatalogItemsResponse.next_page_token.

Returns
TypeDescription
string

setPageToken

Optional. The previous ListCatalogItemsResponse.next_page_token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Optional. A filter to apply on the list results.

Returns
TypeDescription
string

setFilter

Optional. A filter to apply on the list results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this