Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1StreamChatResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1StreamChatResponse
- 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
-
#chunk ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantChunk
A chunk of data in an assistant message.
-
#event_id ⇒ String
The unique ID of the event.
-
#event_time ⇒ String
The time when the event occurred.
-
#status_message ⇒ String
A status message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1StreamChatResponse
constructor
A new instance of GoogleCloudContactcenterinsightsV1StreamChatResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#chunk ⇒ Google::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_id ⇒ String
The unique ID of the event.
Corresponds to the JSON property eventId
9781 9782 9783 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9781 def event_id @event_id end |
#event_time ⇒ String
The time when the event occurred.
Corresponds to the JSON property eventTime
9786 9787 9788 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9786 def event_time @event_time end |
#status_message ⇒ String
A status message.
Corresponds to the JSON property statusMessage
9791 9792 9793 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9791 def @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 |