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.



9711
9712
9713
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9711

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)


9709
9710
9711
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9709

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9716
9717
9718
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9716

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