public sealed class TurnHandoffEvent : IMessage<TurnHandoffEvent>, IEquatable<TurnHandoffEvent>, IDeepCloneable<TurnHandoffEvent>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class TurnHandoffEvent.
Emitted before this task stops serving the stream mid-turn (e.g. a server restart). The turn's state is persisted; a reconnect carrying resume_from_sequence_number continues it on another task.
Implements
IMessageTurnHandoffEvent, IEquatableTurnHandoffEvent, IDeepCloneableTurnHandoffEvent, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
TurnHandoffEvent()
public TurnHandoffEvent()TurnHandoffEvent(TurnHandoffEvent)
public TurnHandoffEvent(TurnHandoffEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
TurnHandoffEvent |
Properties
Reason
public TurnHandoffEvent.Types.Reason Reason { get; set; }Why the stream is handing off.
| Property Value | |
|---|---|
| Type | Description |
TurnHandoffEventTypesReason |
|
TurnId
public string TurnId { get; set; }Identifies the turn to resume.
| Property Value | |
|---|---|
| Type | Description |
string |
|