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

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
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

static::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 Google\Cloud\RecommendationEngine\V1beta1\CatalogServiceClient::catalogItemPathName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\GetCatalogItemRequest