Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#metadata
def metadata() -> ::Google::Protobuf::Struct- (::Google::Protobuf::Struct) — Optional. Provides additional information about the end session signal, such as the reason for ending the session.
#metadata=
def metadata=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — Optional. Provides additional information about the end session signal, such as the reason for ending the session.
- (::Google::Protobuf::Struct) — Optional. Provides additional information about the end session signal, such as the reason for ending the session.