Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
- 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::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
-
#sources ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources
Sources for the suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion.
8096 8097 8098 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8096 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
8084 8085 8086 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8084 def agent_action @agent_action end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
Corresponds to the JSON property duplicateCheckResult
8089 8090 8091 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8089 def duplicate_check_result @duplicate_check_result end |
#sources ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources
Sources for the suggestion.
Corresponds to the JSON property sources
8094 8095 8096 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8094 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8101 8102 8103 8104 8105 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8101 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 |