Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestion
- 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
Suggestion for coaching agents.
Instance Attribute Summary collapse
-
#agent_action_suggestions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion>
Optional.
-
#applicable_instructions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction>
Optional.
-
#sample_responses ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestion
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestion
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestion.
15110 15111 15112 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action_suggestions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion>
Optional. Suggested actions for the agent to take.
Corresponds to the JSON property agentActionSuggestions
15098 15099 15100 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15098 def agent_action_suggestions @agent_action_suggestions end |
#applicable_instructions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction>
Optional. Instructions applicable based on the current context.
Corresponds to the JSON property applicableInstructions
15103 15104 15105 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15103 def applicable_instructions @applicable_instructions end |
#sample_responses ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse>
Optional. Sample response for the Agent.
Corresponds to the JSON property sampleResponses
15108 15109 15110 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15108 def sample_responses @sample_responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15115 15116 15117 15118 15119 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15115 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 |