Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
- 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
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::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
-
#sources ⇒ Google::Apis::DialogflowV3::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.
19218 19219 19220 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19218 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
19206 19207 19208 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19206 def agent_action @agent_action end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
Corresponds to the JSON property duplicateCheckResult
19211 19212 19213 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19211 def duplicate_check_result @duplicate_check_result end |
#sources ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Sources for the suggestion.
Corresponds to the JSON property sources
19216 19217 19218 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19216 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19223 19224 19225 19226 19227 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19223 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 |