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.



9793
9794
9795
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9793

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



9776
9777
9778
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9776

def chunk
  @chunk
end

#event_idString

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

Returns:

  • (String)


9781
9782
9783
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9781

def event_id
  @event_id
end

#event_timeString

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

Returns:

  • (String)


9786
9787
9788
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9786

def event_time
  @event_time
end

#status_messageString

A status message. Corresponds to the JSON property statusMessage

Returns:

  • (String)


9791
9792
9793
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9791

def status_message
  @status_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9798
9799
9800
9801
9802
9803
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9798

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