0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

    DataStoreSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `data_store` | `str` Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. |
| `filter` | `str` Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see `Filtering `__ |
| `boost_spec` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.SearchRequest.BoostSpec` Optional. Boost specification to boost certain documents. For more information on boosting, see `Boosting `__ |
| `custom_search_operators` | `str` 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 `__. |
| `num_results` | `int` Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. |