- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/DataStoreSpec#SCHEMA_REPRESENTATION)

A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.

| JSON representation |
|---|
| ``` { "dataStore": string, "filter": string, "boostSpec": { object (`BoostSpec`) }, "customSearchOperators": string, "numResults": integer } ``` |

| Fields ||
|---|---|
| `dataStore` | `string` Required. Full resource name of `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.collections.dataStores#DataStore`, such as `projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}`. The path must include the project number, project ID is not supported for this field. |
| `filter` | `string` Optional. Filter specification to filter documents in the data store specified by dataStore field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) |
| `boostSpec` | ``object (`BoostSpec`)`` Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) |
| `customSearchOperators` | `string` Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). |
| `numResults` | `integer` Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.evaluations#SearchRequest.FIELDS.num_results_per_data_store` if provided, otherwise there is no limit. If both this field and `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.evaluations#SearchRequest.FIELDS.num_results_per_data_store` are specified, this field will be used. |