TurnResumeSnapshot(mapping=None, *, ignore_unknown_fields=False, **kwargs)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.
Attributes |
|
|---|---|
| Name | Description |
turn_id |
str
Identifies the turn being attached to. |
resolved_sequence_number |
int
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. |
events |
MutableSequence[google.cloud.ces_v1beta.types.StreamChatAiAssistantResponse]
Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming. |
orphan_deadline_time |
google.protobuf.timestamp_pb2.Timestamp
When the turn will be wound down if no client remains attached. |