Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Catalog

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb

Overview

The catalog configuration. Next ID: 5.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1Catalog

Returns a new instance of GoogleCloudRecommendationengineV1beta1Catalog.



218
219
220
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 218

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#catalog_item_level_configGoogle::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 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 201

def catalog_item_level_config
  @catalog_item_level_config
end

#default_event_store_idString

Required. The ID of the default event store. Corresponds to the JSON property defaultEventStoreId

Returns:

  • (String)


206
207
208
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 206

def default_event_store_id
  @default_event_store_id
end

#display_nameString

Required. The catalog display name. Corresponds to the JSON property displayName

Returns:

  • (String)


211
212
213
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 211

def display_name
  @display_name
end

#nameString

The fully qualified resource name of the catalog. Corresponds to the JSON property name

Returns:

  • (String)


216
217
218
# File 'lib/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 'lib/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