Discovery Engine v1beta API - Class DataStoreService.DataStoreServiceBase (1.0.0-beta10)

[BindServiceMethod(typeof(DataStoreService), "BindService")]
public abstract class DataStoreService.DataStoreServiceBase

Reference documentation and code samples for the Discovery Engine v1beta API class DataStoreService.DataStoreServiceBase.

Base class for server-side implementations of DataStoreService

Inheritance

object > DataStoreService.DataStoreServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Methods

CreateDataStore(CreateDataStoreRequest, ServerCallContext)

public virtual Task<Operation> CreateDataStore(CreateDataStoreRequest request, ServerCallContext context)

Creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].

DataStore is for storing [Documents][google.cloud.discoveryengine.v1beta.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1beta.Engine] needs to be created separately.

Parameters
NameDescription
requestCreateDataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteDataStore(DeleteDataStoreRequest, ServerCallContext)

public virtual Task<Operation> DeleteDataStore(DeleteDataStoreRequest request, ServerCallContext context)

Deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].

Parameters
NameDescription
requestDeleteDataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetDataStore(GetDataStoreRequest, ServerCallContext)

public virtual Task<DataStore> GetDataStore(GetDataStoreRequest request, ServerCallContext context)

Gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].

Parameters
NameDescription
requestGetDataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDataStore

The response to send back to the client (wrapped by a task).

ListDataStores(ListDataStoresRequest, ServerCallContext)

public virtual Task<ListDataStoresResponse> ListDataStores(ListDataStoresRequest request, ServerCallContext context)

Lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s associated with the project.

Parameters
NameDescription
requestListDataStoresRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListDataStoresResponse

The response to send back to the client (wrapped by a task).

UpdateDataStore(UpdateDataStoreRequest, ServerCallContext)

public virtual Task<DataStore> UpdateDataStore(UpdateDataStoreRequest request, ServerCallContext context)

Updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]

Parameters
NameDescription
requestUpdateDataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDataStore

The response to send back to the client (wrapped by a task).