Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Suggestion generated using a Generator.
Instance Attribute Summary collapse
-
#agent_coaching_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
Suggestion for coaching agents.
-
#free_form_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1FreeFormSuggestion
Suggestion generated using free form generator.
-
#summary_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion
Suggested summary of the conversation.
-
#tool_call_info ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorSuggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorSuggestion
Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestion.
20697 20698 20699 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20697 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_coaching_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
Suggestion for coaching agents.
Corresponds to the JSON property agentCoachingSuggestion
20680 20681 20682 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20680 def agent_coaching_suggestion @agent_coaching_suggestion end |
#free_form_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1FreeFormSuggestion
Suggestion generated using free form generator.
Corresponds to the JSON property freeFormSuggestion
20685 20686 20687 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20685 def free_form_suggestion @free_form_suggestion end |
#summary_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion
Suggested summary of the conversation.
Corresponds to the JSON property summarySuggestion
20690 20691 20692 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20690 def summary_suggestion @summary_suggestion end |
#tool_call_info ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>
Optional. List of request and response for tool calls executed.
Corresponds to the JSON property toolCallInfo
20695 20696 20697 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20695 def tool_call_info @tool_call_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20702 20703 20704 20705 20706 20707 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20702 def update!(**args) @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion) @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion) @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion) @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info) end |