Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
- 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
Suggestion for coaching agents.
Instance Attribute Summary collapse
-
#agent_action_suggestions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>
Optional.
-
#applicable_instructions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>
Optional.
-
#sample_responses ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestion.
12481 12482 12483 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action_suggestions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>
Optional. Suggested actions for the agent to take.
Corresponds to the JSON property agentActionSuggestions
12469 12470 12471 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12469 def agent_action_suggestions @agent_action_suggestions end |
#applicable_instructions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>
Optional. Instructions applicable based on the current context.
Corresponds to the JSON property applicableInstructions
12474 12475 12476 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12474 def applicable_instructions @applicable_instructions end |
#sample_responses ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>
Optional. Sample response for the Agent.
Corresponds to the JSON property sampleResponses
12479 12480 12481 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12479 def sample_responses @sample_responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12486 12487 12488 12489 12490 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12486 def update!(**args) @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions) @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions) @sample_responses = args[:sample_responses] if args.key?(:sample_responses) end |