Gemini Enterprise for Customer Experience v1 API - Class BidiSessionServerMessage (1.0.0-beta01)

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class BidiSessionServerMessage.

The top-level message returned from [SessionService.BidiRunSession][google.cloud.ces.v1.SessionService.BidiRunSession] method.

Inheritance

object > BidiSessionServerMessage

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

BidiSessionServerMessage()

public BidiSessionServerMessage()

BidiSessionServerMessage(BidiSessionServerMessage)

public BidiSessionServerMessage(BidiSessionServerMessage other)
Parameter
Name Description
other BidiSessionServerMessage

Properties

EndSession

public EndSession EndSession { get; set; }

Optional. Indicates that the session has ended.

Property Value
Type Description
EndSession

GoAway

public GoAway GoAway { get; set; }

Optional. Indicates that the server will disconnect soon and the client should half-close and restart the connection.

Property Value
Type Description
GoAway

InterruptionSignal

public InterruptionSignal InterruptionSignal { get; set; }

Optional. Interruption signal detected from the audio input.

Property Value
Type Description
InterruptionSignal

MessageTypeCase

public BidiSessionServerMessage.MessageTypeOneofCase MessageTypeCase { get; }
Property Value
Type Description
BidiSessionServerMessageMessageTypeOneofCase

RecognitionResult

public RecognitionResult RecognitionResult { get; set; }

Optional. Realtime speech recognition result for the audio input.

Property Value
Type Description
RecognitionResult

SessionOutput

public SessionOutput SessionOutput { get; set; }

Optional. Processing result from the CES agent.

Property Value
Type Description
SessionOutput