Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantChunk

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 chunk of data in an assistant message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AssistantChunk

Returns a new instance of GoogleCloudContactcenterinsightsV1AssistantChunk.



1070
1071
1072
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1070

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

Instance Attribute Details

#textString

Optional. Text data. Corresponds to the JSON property text

Returns:

  • (String)


1068
1069
1070
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1068

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1075

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