Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestion

Inherits:
Object
  • Object
show all
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 generated using a Generator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorSuggestion

Returns a new instance of GoogleCloudDialogflowV2GeneratorSuggestion.



9190
9191
9192
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9190

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_coaching_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion

Suggestion for coaching agents. Corresponds to the JSON property agentCoachingSuggestion



9173
9174
9175
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9173

def agent_coaching_suggestion
  @agent_coaching_suggestion
end

#free_form_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FreeFormSuggestion

Suggestion generated using free form generator. Corresponds to the JSON property freeFormSuggestion



9178
9179
9180
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9178

def free_form_suggestion
  @free_form_suggestion
end

#summary_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SummarySuggestion

Suggested summary of the conversation. Corresponds to the JSON property summarySuggestion



9183
9184
9185
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9183

def summary_suggestion
  @summary_suggestion
end

#tool_call_infoArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>

Optional. List of request and response for tool calls executed. Corresponds to the JSON property toolCallInfo



9188
9189
9190
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9188

def tool_call_info
  @tool_call_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9195
9196
9197
9198
9199
9200
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9195

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