Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1StreamChatRequest

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

Request to stream chat.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1StreamChatRequest

Returns a new instance of GoogleCloudContactcenterinsightsV1StreamChatRequest.



9759
9760
9761
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9759

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

Instance Attribute Details

#messageString

Required. The message to send to the assistant. Corresponds to the JSON property message

Returns:

  • (String)


9757
9758
9759
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9757

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9764
9765
9766
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9764

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