public sealed class TurnResumeSnapshot : IMessage<TurnResumeSnapshot>, IEquatable<TurnResumeSnapshot>, IDeepCloneable<TurnResumeSnapshot>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class 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.
Implements
IMessageTurnResumeSnapshot, IEquatableTurnResumeSnapshot, IDeepCloneableTurnResumeSnapshot, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
TurnResumeSnapshot()
public TurnResumeSnapshot()TurnResumeSnapshot(TurnResumeSnapshot)
public TurnResumeSnapshot(TurnResumeSnapshot other)| Parameter | |
|---|---|
| Name | Description |
other |
TurnResumeSnapshot |
Properties
Events
public RepeatedField<StreamChatAiAssistantResponse> Events { get; }Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldStreamChatAiAssistantResponse |
|
OrphanDeadlineTime
public Timestamp OrphanDeadlineTime { get; set; }When the turn will be wound down if no client remains attached.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
ResolvedSequenceNumber
public long ResolvedSequenceNumber { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
long |
|
TurnId
public string TurnId { get; set; }Identifies the turn being attached to.
| Property Value | |
|---|---|
| Type | Description |
string |
|