Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::TurnResumeSnapshot.
A compacted replay of an in-flight turn: everything needed to render the turn's visible output so far, plus the position live events continue from.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#events
def events() -> ::Array<::Google::Cloud::Ces::V1beta::StreamChatAiAssistantResponse>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::StreamChatAiAssistantResponse>) — Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.
#events=
def events=(value) -> ::Array<::Google::Cloud::Ces::V1beta::StreamChatAiAssistantResponse>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::StreamChatAiAssistantResponse>) — Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::StreamChatAiAssistantResponse>) — Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.
#orphan_deadline_time
def orphan_deadline_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — When the turn will be wound down if no client remains attached.
#orphan_deadline_time=
def orphan_deadline_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — When the turn will be wound down if no client remains attached.
Returns
- (::Google::Protobuf::Timestamp) — When the turn will be wound down if no client remains attached.
#resolved_sequence_number
def resolved_sequence_number() -> ::Integer
Returns
- (::Integer) — The position this snapshot represents. Live events follow with sequence_number strictly greater than this. When lower than the resume_from_sequence_number the client requested, flushed progress lags what the client already rendered: the client must discard its rendered content of this turn beyond this position before applying the snapshot.
#resolved_sequence_number=
def resolved_sequence_number=(value) -> ::Integer
Parameter
- value (::Integer) — The position this snapshot represents. Live events follow with sequence_number strictly greater than this. When lower than the resume_from_sequence_number the client requested, flushed progress lags what the client already rendered: the client must discard its rendered content of this turn beyond this position before applying the snapshot.
Returns
- (::Integer) — The position this snapshot represents. Live events follow with sequence_number strictly greater than this. When lower than the resume_from_sequence_number the client requested, flushed progress lags what the client already rendered: the client must discard its rendered content of this turn beyond this position before applying the snapshot.
#turn_id
def turn_id() -> ::String
Returns
- (::String) — Identifies the turn being attached to.
#turn_id=
def turn_id=(value) -> ::String
Parameter
- value (::String) — Identifies the turn being attached to.
Returns
- (::String) — Identifies the turn being attached to.