Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary

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

Returns a new instance of GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary.



20487
20488
20489
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20487

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

Instance Attribute Details

#answer_recordString

Corresponds to the JSON property answerRecord

Returns:

  • (String)


20465
20466
20467
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20465

def answer_record
  @answer_record
end

#baseline_model_versionString

Corresponds to the JSON property baselineModelVersion

Returns:

  • (String)


20470
20471
20472
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20470

def baseline_model_version
  @baseline_model_version
end

#sorted_text_sectionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection>

Corresponds to the JSON property sortedTextSections



20475
20476
20477
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20475

def sorted_text_sections
  @sorted_text_sections
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


20480
20481
20482
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20480

def text
  @text
end

#text_sectionsHash<String,String>

Corresponds to the JSON property textSections

Returns:

  • (Hash<String,String>)


20485
20486
20487
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20485

def text_sections
  @text_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20492
20493
20494
20495
20496
20497
20498
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20492

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