Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion.



13241
13242
13243
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13241

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


13229
13230
13231
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13229

def agent_action
  @agent_action
end

#duplicate_check_resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



13234
13235
13236
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13234

def duplicate_check_result
  @duplicate_check_result
end

#sourcesGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Corresponds to the JSON property sources



13239
13240
13241
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13239

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13246
13247
13248
13249
13250
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13246

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