Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchRequest::DataStoreSpec (v1.2.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchRequest::DataStoreSpec.

A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an INVALID_ARGUMENT error is returned.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_store

def data_store() -> ::String
Returns
  • (::String) — Required. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.

#data_store=

def data_store=(value) -> ::String
Parameter
  • value (::String) — Required. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
Returns
  • (::String) — Required. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.

#filter

def filter() -> ::String
Returns
  • (::String) — Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

#filter=

def filter=(value) -> ::String
Parameter
  • value (::String) — Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering
Returns
  • (::String) — Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering