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

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

Request message for GetCatalogItem method.

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

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id.

getName

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id.

Returns
Type Description
string

setName

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id. Please see CatalogServiceClient::catalogItemPathName() for help formatting this field.

Returns
Type Description
GetCatalogItemRequest