Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderGenerationConfig

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

Overview

A Configuration to customize the generation of recommendations. Eg, customizing the lookback period considered when generating a recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1RecommenderGenerationConfig

Returns a new instance of GoogleCloudRecommenderV1beta1RecommenderGenerationConfig.



1025
1026
1027
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 1025

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

Instance Attribute Details

#paramsHash<String,Object>

Parameters for this RecommenderGenerationConfig. These configs can be used by or are applied to all subtypes. Corresponds to the JSON property params

Returns:

  • (Hash<String,Object>)


1023
1024
1025
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 1023

def params
  @params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1030
1031
1032
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 1030

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