Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput

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

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput.



14299
14300
14301
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14299

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


14292
14293
14294
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14292

def text
  @text
end

#text_typeString

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

Returns:

  • (String)


14297
14298
14299
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14297

def text_type
  @text_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14304
14305
14306
14307
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14304

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