class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig

Configures the catalog level that users send events to, and the level at which predictions are made.

Attributes

event_item_level[RW]

Optional. Level of the catalog at which events are uploaded. See cloud. google.com/recommendations-ai/docs/catalog#catalog-levels for more details. Corresponds to the JSON property `eventItemLevel` @return [String]

predict_item_level[RW]

Optional. Level of the catalog at which predictions are made. See https:// cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. Corresponds to the JSON property `predictItemLevel` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 376
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 381
def update!(**args)
  @event_item_level = args[:event_item_level] if args.key?(:event_item_level)
  @predict_item_level = args[:predict_item_level] if args.key?(:predict_item_level)
end