Google Cloud Ces V1 Client - Class EndSessionConfig (0.3.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class EndSessionConfig.

Configuration for ending the session in case of system errors (e.g. LLM errors).

Generated from protobuf message google.cloud.ces.v1.ErrorHandlingSettings.EndSessionConfig

Namespace

Google \ Cloud \ Ces \ V1 \ ErrorHandlingSettings

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ escalate_session bool

Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in EndSession will contain session_escalated = true. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent for details.

getEscalateSession

Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in EndSession will contain session_escalated = true. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent for details.

Returns
Type Description
bool

hasEscalateSession

clearEscalateSession

setEscalateSession

Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in EndSession will contain session_escalated = true. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent for details.

Parameter
Name Description
var bool
Returns
Type Description
$this