# Class EngineSource (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Configuration for searching within an Engine, potentially
targeting specific DataStores.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `engine` | `str` Required. Full resource name of the Engine. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` |
| `data_store_sources` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1.types.DataStoreTool.DataStoreSource]` Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine. |
| `filter` | `str` Optional. A filter applied to the search across the Engine. Not relevant and not used if 'data_store_sources' is provided. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata |