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

All information about a single turn in the conversation.

Generated from protobuf message `google.cloud.ces.v1.Conversation.Turn`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ Conversation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ messages` | `array<Google\Cloud\Ces\V1\Message>` Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing. |
| `↳ root_span` | `Google\Cloud\Ces\V1\Span` Optional. The root span of the action processing. |

### getMessages

Optional. List of messages in the conversation turn, including user
input, agent responses and intermediate events during the processing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<Google\Cloud\Ces\V1\Message>` |   |

### setMessages

Optional. List of messages in the conversation turn, including user
input, agent responses and intermediate events during the processing.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<Google\Cloud\Ces\V1\Message>` |

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

### getRootSpan

Optional. The root span of the action processing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Cloud\Ces\V1\Span|null` |   |

### hasRootSpan

### clearRootSpan

### setRootSpan

Optional. The root span of the action processing.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Cloud\Ces\V1\Span` |

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