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.



6142
6143
6144
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6142

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


6135
6136
6137
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6135

def texts
  @texts
end

#typeString

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

Returns:

  • (String)


6140
6141
6142
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6140

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6147
6148
6149
6150
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6147

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