Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Catalog
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Catalog
- 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 catalog configuration. Next ID: 5.
Instance Attribute Summary collapse
-
#catalog_item_level_config ⇒ Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig
Configures the catalog level that users send events to, and the level at which predictions are made.
-
#default_event_store_id ⇒ String
Required.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
The fully qualified resource name of the catalog.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1Catalog
constructor
A new instance of GoogleCloudRecommendationengineV1beta1Catalog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1Catalog
Returns a new instance of GoogleCloudRecommendationengineV1beta1Catalog.
218 219 220 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#catalog_item_level_config ⇒ Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig
Configures the catalog level that users send events to, and the level at which
predictions are made.
Corresponds to the JSON property catalogItemLevelConfig
201 202 203 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 201 def catalog_item_level_config @catalog_item_level_config end |
#default_event_store_id ⇒ String
Required. The ID of the default event store.
Corresponds to the JSON property defaultEventStoreId
206 207 208 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 206 def default_event_store_id @default_event_store_id end |
#display_name ⇒ String
Required. The catalog display name.
Corresponds to the JSON property displayName
211 212 213 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 211 def display_name @display_name end |
#name ⇒ String
The fully qualified resource name of the catalog.
Corresponds to the JSON property name
216 217 218 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 216 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 226 227 228 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 223 def update!(**args) @catalog_item_level_config = args[:catalog_item_level_config] if args.key?(:catalog_item_level_config) @default_event_store_id = args[:default_event_store_id] if args.key?(:default_event_store_id) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |