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

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

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

Indicates the session has terminated, due to either successful completion (e.g. user says "Good bye!" ) or an agent escalation.

The agent will not process any further inputs after session is terminated and the client should half-close and disconnect after receiving all remaining responses from the agent.

Inheritance

object > EndSession

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

EndSession()

public EndSession()

EndSession(EndSession)

public EndSession(EndSession other)
Parameter
Name Description
other EndSession

Properties

Metadata

public Struct Metadata { get; set; }

Optional. Provides additional information about the end session signal, such as the reason for ending the session.

Property Value
Type Description
Struct