DataStoreConnection

A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.

JSON representation
{
  "dataStoreType": enum (DataStoreType),
  "dataStore": string,
  "documentProcessingMode": enum (DocumentProcessingMode)
}
Fields
dataStoreType

enum (DataStoreType)

The type of the connected data store.

dataStore

string

The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}

documentProcessingMode

enum (DocumentProcessingMode)

The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

DataStoreType

Type of a data store. Determines how search is performed in the data store.

Enums
DATA_STORE_TYPE_UNSPECIFIEDNot specified. This value indicates that the data store type is not specified, so it will not be used during search.
PUBLIC_WEBA data store that contains public web content.
UNSTRUCTUREDA data store that contains unstructured private data.
STRUCTUREDA data store that contains structured data (for example FAQ).

DocumentProcessingMode

The document processing mode of the data store.

Enums
DOCUMENT_PROCESSING_MODE_UNSPECIFIEDNot specified. This should be set for STRUCTURED type data stores. Due to legacy reasons this is considered as DOCUMENTS for STRUCTURED and PUBLIC_WEB data stores.
DOCUMENTSDocuments are processed as documents.
CHUNKSDocuments are converted to chunks.