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

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

Methods

build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\GetCatalogItemRequest

__construct

Constructor.

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

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this