Gemini Enterprise for Customer Experience V1 API - Class Google::Cloud::Ces::V1::EndSession (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::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
Returns
  • (::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
Parameter
  • value (::Google::Protobuf::Struct) — Optional. Provides additional information about the end session signal, such as the reason for ending the session.
Returns
  • (::Google::Protobuf::Struct) — Optional. Provides additional information about the end session signal, such as the reason for ending the session.