Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GeneratorSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorSuggestion

Returns a new instance of GoogleCloudDialogflowV2GeneratorSuggestion.



16235
16236
16237
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16235

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

Instance Attribute Details

#agent_coaching_suggestionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestion

Suggestion for coaching agents. Corresponds to the JSON property agentCoachingSuggestion



16218
16219
16220
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16218

def agent_coaching_suggestion
  @agent_coaching_suggestion
end

#free_form_suggestionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2FreeFormSuggestion

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



16223
16224
16225
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16223

def free_form_suggestion
  @free_form_suggestion
end

#summary_suggestionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2SummarySuggestion

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



16228
16229
16230
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16228

def summary_suggestion
  @summary_suggestion
end

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

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



16233
16234
16235
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16233

def tool_call_info
  @tool_call_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16240
16241
16242
16243
16244
16245
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16240

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