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.



18977
18978
18979
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18977

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


18970
18971
18972
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18970

def text
  @text
end

#text_typeString

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

Returns:

  • (String)


18975
18976
18977
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18975

def text_type
  @text_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18982
18983
18984
18985
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18982

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