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
Namespace
Google \ Cloud \ RecommendationEngine \ V1beta1Methods
__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 |
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 |
CatalogItem|null |
hasCatalogItem
clearCatalogItem
setCatalogItem
Required. The catalog item to create.
Parameter | |
---|---|
Name | Description |
var |
CatalogItem
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent catalog resource name, such as
|
catalogItem |
CatalogItem
Required. The catalog item to create. |
Returns | |
---|---|
Type | Description |
CreateCatalogItemRequest |