Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class DataStoreConnection.
A data store connection. It represents a data store in Discovery Engine and
the type of the contents it contains.
Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.DataStoreConnection
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ data_store_type
int
The type of the connected data store.
↳ data_store
string
The full name of the referenced data store. Formats:projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}projects/{project}/locations/{location}/dataStores/{data_store}
↳ document_processing_mode
int
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.
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.
Returns
Type
Description
int
setDocumentProcessingMode
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class DataStoreConnection (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.DataStoreConnection)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.DataStoreConnection)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.DataStoreConnection)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.DataStoreConnection)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.DataStoreConnection)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.DataStoreConnection)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.DataStoreConnection)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.DataStoreConnection)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.DataStoreConnection) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class DataStoreConnection.\n\nA data store connection. It represents a data store in Discovery Engine and\nthe type of the contents it contains.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.DataStoreConnection`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDataStoreType\n\nThe type of the connected data store.\n\n### setDataStoreType\n\nThe type of the connected data store.\n\n### getDataStore\n\nThe full name of the referenced data store.\n\nFormats:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`\n`projects/{project}/locations/{location}/dataStores/{data_store}`\n\n### setDataStore\n\nThe full name of the referenced data store.\n\nFormats:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`\n`projects/{project}/locations/{location}/dataStores/{data_store}`\n\n### getDocumentProcessingMode\n\nThe document processing mode for the data store connection. Should only be\nset for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is\nconsidered as DOCUMENTS, as this is the legacy mode.\n\n### setDocumentProcessingMode\n\nThe document processing mode for the data store connection. Should only be\nset for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is\nconsidered as DOCUMENTS, as this is the legacy mode."]]