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 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.

Generated from protobuf message `google.cloud.ces.v1.EndSession`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ metadata` | `Google\Protobuf\Struct` Optional. Provides additional information about the end session signal, such as the reason for ending the session. |

### getMetadata

Optional. Provides additional information about the end session signal,
such as the reason for ending the session.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Struct|null` |   |

### hasMetadata

### clearMetadata

### setMetadata

Optional. Provides additional information about the end session signal,
such as the reason for ending the session.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Struct` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |