class Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo
Information for state. Contains state and metadata.
Attributes
state[RW]
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED. Corresponds to the JSON property `state` @return [String]
state_metadata[RW]
A map of metadata for the state, provided by user or automations systems. Corresponds to the JSON property `stateMetadata` @return [Hash<String,String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/recommender_v1beta1/classes.rb, line 647 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/recommender_v1beta1/classes.rb, line 652 def update!(**args) @state = args[:state] if args.key?(:state) @state_metadata = args[:state_metadata] if args.key?(:state_metadata) end