Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb
Overview
The inline source for the input config for ImportCatalogItems method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1CatalogInlineSource
constructor
A new instance of GoogleCloudRecommendationengineV1beta1CatalogInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1CatalogInlineSource
Returns a new instance of GoogleCloudRecommendationengineV1beta1CatalogInlineSource.
241 242 243 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#catalog_items ⇒ Array<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem>
Optional. A list of catalog items to update/create. Recommended max of 10k
items.
Corresponds to the JSON property catalogItems
239 240 241 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 239 def catalog_items @catalog_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
246 247 248 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 246 def update!(**args) @catalog_items = args[:catalog_items] if args.key?(:catalog_items) end |