Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion.



7220
7221
7222
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7220

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


7208
7209
7210
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7208

def agent_action
  @agent_action
end

#duplicate_check_resultGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



7213
7214
7215
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7213

def duplicate_check_result
  @duplicate_check_result
end

#sourcesGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Corresponds to the JSON property sources



7218
7219
7220
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7218

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7225
7226
7227
7228
7229
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7225

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