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.



4978
4979
4980
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4978

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


4971
4972
4973
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4971

def text
  @text
end

#text_typeString

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

Returns:

  • (String)


4976
4977
4978
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4976

def text_type
  @text_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4983
4984
4985
4986
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4983

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