class Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightStateInfo

Information related to insight state.

Attributes

state[RW]

Insight state. 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 205
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 210
def update!(**args)
  @state = args[:state] if args.key?(:state)
  @state_metadata = args[:state_metadata] if args.key?(:state_metadata)
end