Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class CreateCatalogItemRequest.
Request message for CreateCatalogItem method.
Generated from protobuf message google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest
Methods
build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent catalog resource name, such as
|
catalogItem |
Google\Cloud\RecommendationEngine\V1beta1\CatalogItem
Required. The catalog item to create. |
Returns | |
---|---|
Type | Description |
Google\Cloud\RecommendationEngine\V1beta1\CreateCatalogItemRequest |
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent catalog resource name, such as |
↳ catalog_item |
Google\Cloud\RecommendationEngine\V1beta1\CatalogItem
Required. The catalog item to create. |
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 |
getCatalogItem
Required. The catalog item to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecommendationEngine\V1beta1\CatalogItem|null |
hasCatalogItem
clearCatalogItem
setCatalogItem
Required. The catalog item to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecommendationEngine\V1beta1\CatalogItem
|
Returns | |
---|---|
Type | Description |
$this |