# Google Cloud Dialogflow Cx V3 Client - Class CitedSnippet (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 CitedSnippet.

Snippet cited by the answer generation model.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ DataStoreConnectionSignals

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ search_snippet` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.DataStoreConnectionSignals.SearchSnippet` Details of the snippet. |
| `↳ snippet_index` | `int` Index of the snippet in `search_snippets` field. |

### getSearchSnippet

Details of the snippet.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.DataStoreConnectionSignals.SearchSnippet|null` |   |

### hasSearchSnippet

### clearSearchSnippet

### setSearchSnippet

Details of the snippet.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.DataStoreConnectionSignals.SearchSnippet` |

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

### getSnippetIndex

Index of the snippet in `search_snippets` field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setSnippetIndex

Index of the snippet in `search_snippets` field.

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

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