# Google Cloud Dialogflow Cx V3 Client - Class OutputAudioText (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class OutputAudioText.

A text or ssml response that is preferentially used for TTS output audio
synthesis, as described in the comment on the ResponseMessage message.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioText`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ ResponseMessage

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text` | `string` The raw text to be synthesized. |
| `↳ ssml` | `string` The SSML text to be synthesized. For more information, see [SSML](https://docs.cloud.google.com/speech/text-to-speech/docs/ssml). |
| `↳ allow_playback_interruption` | `bool` Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. |

### getText

The raw text to be synthesized.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasText

### setText

The raw text to be synthesized.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getSsml

The SSML text to be synthesized. For more information, see
[SSML](https://docs.cloud.google.com/speech/text-to-speech/docs/ssml).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasSsml

### setSsml

The SSML text to be synthesized. For more information, see
[SSML](https://docs.cloud.google.com/speech/text-to-speech/docs/ssml).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getAllowPlaybackInterruption

Output only. Whether the playback of this message can be interrupted by
the end user's speech and the client can then starts the next Dialogflow
request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAllowPlaybackInterruption

Output only. Whether the playback of this message can be interrupted by
the end user's speech and the client can then starts the next Dialogflow
request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getSource

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |