Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1StreamChatResponse

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

Response from streaming chat.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1StreamChatResponse

Returns a new instance of GoogleCloudContactcenterinsightsV1StreamChatResponse.



9745
9746
9747
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9745

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

Instance Attribute Details

#chunkGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantChunk

A chunk of data in an assistant message. Corresponds to the JSON property chunk



9728
9729
9730
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9728

def chunk
  @chunk
end

#event_idString

The unique ID of the event. Corresponds to the JSON property eventId

Returns:

  • (String)


9733
9734
9735
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9733

def event_id
  @event_id
end

#event_timeString

The time when the event occurred. Corresponds to the JSON property eventTime

Returns:

  • (String)


9738
9739
9740
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9738

def event_time
  @event_time
end

#status_messageString

A status message. Corresponds to the JSON property statusMessage

Returns:

  • (String)


9743
9744
9745
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9743

def status_message
  @status_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9750
9751
9752
9753
9754
9755
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9750

def update!(**args)
  @chunk = args[:chunk] if args.key?(:chunk)
  @event_id = args[:event_id] if args.key?(:event_id)
  @event_time = args[:event_time] if args.key?(:event_time)
  @status_message = args[:status_message] if args.key?(:status_message)
end