Google Cloud Ai Platform V1 Client - Class DataStoreSpec (1.31.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DataStoreSpec.

Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec

Generated from protobuf message google.cloud.aiplatform.v1.VertexAISearch.DataStoreSpec

Namespace

Google \ Cloud \ AIPlatform \ V1 \ VertexAISearch

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_store string

Full resource name of DataStore, such as Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}

↳ filter string

Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

getDataStore

Full resource name of DataStore, such as Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}

Returns
Type Description
string

setDataStore

Full resource name of DataStore, such as Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

Returns
Type Description
string

setFilter

Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

Parameter
Name Description
var string
Returns
Type Description
$this