Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestion

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestion.



18623
18624
18625
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18623

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

Instance Attribute Details

#agent_coaching_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

Corresponds to the JSON property agentCoachingSuggestion



18606
18607
18608
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18606

def agent_coaching_suggestion
  @agent_coaching_suggestion
end

#free_form_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1FreeFormSuggestion

Corresponds to the JSON property freeFormSuggestion



18611
18612
18613
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18611

def free_form_suggestion
  @free_form_suggestion
end

#summary_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion

Corresponds to the JSON property summarySuggestion



18616
18617
18618
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18616

def summary_suggestion
  @summary_suggestion
end

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

Corresponds to the JSON property toolCallInfo



18621
18622
18623
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18621

def tool_call_info
  @tool_call_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18628
18629
18630
18631
18632
18633
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18628

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