Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion.



11139
11140
11141
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11139

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


11127
11128
11129
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11127

def agent_action
  @agent_action
end

#duplicate_check_resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



11132
11133
11134
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11132

def duplicate_check_result
  @duplicate_check_result
end

#sourcesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources

Corresponds to the JSON property sources



11137
11138
11139
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11137

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11144
11145
11146
11147
11148
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11144

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