Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
- 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
Overview
Actions suggested for the agent. This is based on applicable instructions.
Instance Attribute Summary collapse
-
#agent_action ⇒ String
Optional.
-
#duplicate_check_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
-
#sources ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Sources for the suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion.
19856 19857 19858 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19856 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action ⇒ String
Optional. The suggested action for the agent.
Corresponds to the JSON property agentAction
19844 19845 19846 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19844 def agent_action @agent_action end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
Corresponds to the JSON property duplicateCheckResult
19849 19850 19851 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19849 def duplicate_check_result @duplicate_check_result end |
#sources ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Sources for the suggestion.
Corresponds to the JSON property sources
19854 19855 19856 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19854 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19861 19862 19863 19864 19865 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19861 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 |