Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage

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

The user message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage.



12716
12717
12718
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12716

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

Instance Attribute Details

#textString

A message from the user that is interacting with the system. Corresponds to the JSON property text

Returns:

  • (String)


12714
12715
12716
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12714

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12721
12722
12723
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12721

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