Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion

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) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion.



17959
17960
17961
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17959

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


17947
17948
17949
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17947

def agent_action
  @agent_action
end

#duplicate_check_resultGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



17952
17953
17954
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17952

def duplicate_check_result
  @duplicate_check_result
end

#sourcesGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources

Corresponds to the JSON property sources



17957
17958
17959
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17957

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17964
17965
17966
17967
17968
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17964

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