Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightStateInfo
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightStateInfo
- 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
Information related to insight state.
Instance Attribute Summary collapse
-
#state ⇒ String
Insight state.
-
#state_metadata ⇒ Hash<String,String>
A map of metadata for the state, provided by user or automations systems.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1InsightStateInfo
constructor
A new instance of GoogleCloudRecommenderV1beta1InsightStateInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1InsightStateInfo
Returns a new instance of GoogleCloudRecommenderV1beta1InsightStateInfo.
302 303 304 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Insight state.
Corresponds to the JSON property state
295 296 297 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 295 def state @state end |
#state_metadata ⇒ Hash<String,String>
A map of metadata for the state, provided by user or automations systems.
Corresponds to the JSON property stateMetadata
300 301 302 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 300 def @state_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
307 308 309 310 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 307 def update!(**args) @state = args[:state] if args.key?(:state) @state_metadata = args[:state_metadata] if args.key?(:state_metadata) end |