Class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeGenerationConfig
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeGenerationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recommender_v1/classes.rb,
lib/google/apis/recommender_v1/representations.rb,
lib/google/apis/recommender_v1/representations.rb
Overview
A configuration to customize the generation of insights. Eg, customizing the lookback period considered when generating a insight.
Instance Attribute Summary collapse
-
#params ⇒ Hash<String,Object>
Parameters for this InsightTypeGenerationConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1InsightTypeGenerationConfig
constructor
A new instance of GoogleCloudRecommenderV1InsightTypeGenerationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1InsightTypeGenerationConfig
Returns a new instance of GoogleCloudRecommenderV1InsightTypeGenerationConfig.
326 327 328 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#params ⇒ Hash<String,Object>
Parameters for this InsightTypeGenerationConfig. These configs can be used by
or are applied to all subtypes.
Corresponds to the JSON property params
324 325 326 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 324 def params @params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
331 332 333 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 331 def update!(**args) @params = args[:params] if args.key?(:params) end |