Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput

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 text output message from the system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput

Returns a new instance of GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput.



4725
4726
4727
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4725

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

Instance Attribute Details

#textsArray<String>

The parts of the message. Corresponds to the JSON property texts

Returns:

  • (Array<String>)


4718
4719
4720
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4718

def texts
  @texts
end

#typeString

The type of the text message. Corresponds to the JSON property type

Returns:

  • (String)


4723
4724
4725
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4723

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4730
4731
4732
4733
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4730

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