Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1alphaTuningMetadata

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

Metadata associated with a tune operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1alphaTuningMetadata

Returns a new instance of GoogleCloudRecommendationengineV1alphaTuningMetadata.



116
117
118
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 116

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

Instance Attribute Details

#recommendation_modelString

The resource name of the recommendation model that this tune applies to. Format: projects/project_number/locations/location_id/catalogs/catalog_id /eventStores/event_store_id/recommendationModels/recommendation_model_id Corresponds to the JSON property recommendationModel

Returns:

  • (String)


114
115
116
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 114

def recommendation_model
  @recommendation_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



121
122
123
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 121

def update!(**args)
  @recommendation_model = args[:recommendation_model] if args.key?(:recommendation_model)
end