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

Configuration for searching within a specific DataStore.

Generated from protobuf message `google.cloud.ces.v1.DataStoreTool.DataStoreSource`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ DataStoreTool

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ filter` | `string` Optional. Filter specification for the DataStore. See: <https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata> |
| `↳ data_store` | `Google\Cloud\Ces\V1\DataStore` Optional. The data store. |

### getFilter

Optional. Filter specification for the DataStore.

See:
<https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata>

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

### setFilter

Optional. Filter specification for the DataStore.

See:
<https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata>

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

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

### getDataStore

Optional. The data store.

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

### hasDataStore

### clearDataStore

### setDataStore

Optional. The data store.

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

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