Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary

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

Returns a new instance of GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary.



15798
15799
15800
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15798

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

Instance Attribute Details

#answer_recordString

Corresponds to the JSON property answerRecord

Returns:

  • (String)


15776
15777
15778
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15776

def answer_record
  @answer_record
end

#baseline_model_versionString

Corresponds to the JSON property baselineModelVersion

Returns:

  • (String)


15781
15782
15783
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15781

def baseline_model_version
  @baseline_model_version
end

#sorted_text_sectionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection>

Corresponds to the JSON property sortedTextSections



15786
15787
15788
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15786

def sorted_text_sections
  @sorted_text_sections
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


15791
15792
15793
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15791

def text
  @text
end

#text_sectionsHash<String,String>

Corresponds to the JSON property textSections

Returns:

  • (Hash<String,String>)


15796
15797
15798
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15796

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15803
15804
15805
15806
15807
15808
15809
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15803

def update!(**args)
  @answer_record = args[:answer_record] if args.key?(:answer_record)
  @baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
  @sorted_text_sections = args[:sorted_text_sections] if args.key?(:sorted_text_sections)
  @text = args[:text] if args.key?(:text)
  @text_sections = args[:text_sections] if args.key?(:text_sections)
end