Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestion.



14429
14430
14431
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14429

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

Instance Attribute Details

#agent_coaching_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

Corresponds to the JSON property agentCoachingSuggestion



14412
14413
14414
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14412

def agent_coaching_suggestion
  @agent_coaching_suggestion
end

#free_form_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion

Corresponds to the JSON property freeFormSuggestion



14417
14418
14419
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14417

def free_form_suggestion
  @free_form_suggestion
end

#summary_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion

Corresponds to the JSON property summarySuggestion



14422
14423
14424
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14422

def summary_suggestion
  @summary_suggestion
end

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

Corresponds to the JSON property toolCallInfo



14427
14428
14429
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14427

def tool_call_info
  @tool_call_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14434
14435
14436
14437
14438
14439
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14434

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