public sealed class EndSession : IMessage<EndSession>, IEquatable<EndSession>, IDeepCloneable<EndSession>, IBufferMessage, IMessageReference 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.
Implements
IMessageEndSession, IEquatableEndSession, IDeepCloneableEndSession, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
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 |
|