Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

A component of the generated summary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection.



7808
7809
7810
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7808

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

Instance Attribute Details

#sectionString

Required. Name of the section. Corresponds to the JSON property section

Returns:

  • (String)


7801
7802
7803
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7801

def section
  @section
end

#summaryString

Required. Summary text for the section. Corresponds to the JSON property summary

Returns:

  • (String)


7806
7807
7808
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7806

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7813
7814
7815
7816
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7813

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