0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 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](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.EndSession.md.txt). If session is escalated, [metadata in EndSession](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.EndSession.md.txt#_Google_Cloud_Ces_V1_EndSession__getMetadata__) 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](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.EndSession.md.txt). If session is escalated,
[metadata in EndSession](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.EndSession.md.txt#_Google_Cloud_Ces_V1_EndSession__getMetadata__) 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](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.EndSession.md.txt). If session is escalated,
[metadata in EndSession](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.EndSession.md.txt#_Google_Cloud_Ces_V1_EndSession__getMetadata__) 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` |   |