Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion

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) ⇒ GoogleCloudDialogflowV2GeneratorSuggestion

Returns a new instance of GoogleCloudDialogflowV2GeneratorSuggestion.



10747
10748
10749
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10747

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

Instance Attribute Details

#agent_coaching_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestion

Corresponds to the JSON property agentCoachingSuggestion



10730
10731
10732
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10730

def agent_coaching_suggestion
  @agent_coaching_suggestion
end

#free_form_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormSuggestion

Corresponds to the JSON property freeFormSuggestion



10735
10736
10737
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10735

def free_form_suggestion
  @free_form_suggestion
end

#summary_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion

Corresponds to the JSON property summarySuggestion



10740
10741
10742
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10740

def summary_suggestion
  @summary_suggestion
end

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

Corresponds to the JSON property toolCallInfo



10745
10746
10747
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10745

def tool_call_info
  @tool_call_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10752
10753
10754
10755
10756
10757
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10752

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