Google Cloud Dialogflow Cx V3 Client - Class DataStoreConnection (0.7.0)

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 message google.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.

getDataStoreType

The type of the connected data store.

Returns
Type Description
int

setDataStoreType

The type of the connected data store.

Parameter
Name Description
var int
Returns
Type Description
$this

getDataStore

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}

Returns
Type Description
string

setDataStore

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}

Parameter
Name Description
var string
Returns
Type Description
$this

getDocumentProcessingMode

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.

Parameter
Name Description
var int
Returns
Type Description
$this