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.
9745 9746 9747 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9745 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
9728 9729 9730 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9728 def chunk @chunk end |
#event_id ⇒ String
The unique ID of the event.
Corresponds to the JSON property eventId
9733 9734 9735 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9733 def event_id @event_id end |
#event_time ⇒ String
The time when the event occurred.
Corresponds to the JSON property eventTime
9738 9739 9740 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9738 def event_time @event_time end |
#status_message ⇒ String
A status message.
Corresponds to the JSON property statusMessage
9743 9744 9745 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9743 def @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 |