Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput

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

Returns a new instance of GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput.



21293
21294
21295
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 21293

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

Instance Attribute Details

#textArray<String>

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

Returns:

  • (Array<String>)


21286
21287
21288
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 21286

def text
  @text
end

#text_typeString

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

Returns:

  • (String)


21291
21292
21293
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 21291

def text_type
  @text_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21298
21299
21300
21301
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 21298

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