Gemini Enterprise for Customer Experience v1beta API - Class TurnHandoffEvent (1.0.0-beta10)

public sealed class TurnHandoffEvent : IMessage<TurnHandoffEvent>, IEquatable<TurnHandoffEvent>, IDeepCloneable<TurnHandoffEvent>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > TurnHandoffEvent

Namespace

Google.Cloud.Ces.V1Beta

Assembly

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