Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::UpdateCatalogItemRequest.
Request message for UpdateCatalogItem method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#catalog_item
def catalog_item() -> ::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem
Returns
- (::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem) — Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
#catalog_item=
def catalog_item=(value) -> ::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem
Parameter
- value (::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem) — Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
Returns
- (::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem) — Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
#name
def name() -> ::String
Returns
- (::String) — Required. Full resource name of catalog item, such as "projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id".
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Full resource name of catalog item, such as "projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id".
Returns
- (::String) — Required. Full resource name of catalog item, such as "projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id".
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
Returns
- (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.