Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
-
#sources ⇒ Google::Apis::DialogflowV2beta1::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.
12512 12513 12514 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12512 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
12500 12501 12502 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12500 def agent_action @agent_action end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
Corresponds to the JSON property duplicateCheckResult
12505 12506 12507 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12505 def duplicate_check_result @duplicate_check_result end |
#sources ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Sources for the suggestion.
Corresponds to the JSON property sources
12510 12511 12512 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12510 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12517 12518 12519 12520 12521 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12517 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 |