Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput

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

Returns a new instance of GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput.



5893
5894
5895
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5893

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


5886
5887
5888
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5886

def text
  @text
end

#text_typeString

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

Returns:

  • (String)


5891
5892
5893
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5891

def text_type
  @text_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5898
5899
5900
5901
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5898

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