Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion

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

Overview

Suggested summary of the conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarySuggestion

Returns a new instance of GoogleCloudDialogflowV2SummarySuggestion.



15878
15879
15880
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15878

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

Instance Attribute Details

#summary_sectionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection>

Required. All the parts of generated summary. Corresponds to the JSON property summarySections



15876
15877
15878
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15876

def summary_sections
  @summary_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15883
15884
15885
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15883

def update!(**args)
  @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
end