Vector Search v1 API - Class DataObjectService.DataObjectServiceBase (1.0.0-beta01)

[BindServiceMethod(typeof(DataObjectService), "BindService")]
public abstract class DataObjectService.DataObjectServiceBase

Reference documentation and code samples for the Vector Search v1 API class DataObjectService.DataObjectServiceBase.

Base class for server-side implementations of DataObjectService

Inheritance

object > DataObjectService.DataObjectServiceBase

Namespace

Google.Cloud.VectorSearch.V1

Assembly

Google.Cloud.VectorSearch.V1.dll

Methods

BatchCreateDataObjects(BatchCreateDataObjectsRequest, ServerCallContext)

public virtual Task<BatchCreateDataObjectsResponse> BatchCreateDataObjects(BatchCreateDataObjectsRequest request, ServerCallContext context)

Creates a batch of dataObjects.

Parameters
Name Description
request BatchCreateDataObjectsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskBatchCreateDataObjectsResponse

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

BatchDeleteDataObjects(BatchDeleteDataObjectsRequest, ServerCallContext)

public virtual Task<Empty> BatchDeleteDataObjects(BatchDeleteDataObjectsRequest request, ServerCallContext context)

Deletes dataObjects in a batch.

Parameters
Name Description
request BatchDeleteDataObjectsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

BatchUpdateDataObjects(BatchUpdateDataObjectsRequest, ServerCallContext)

public virtual Task<BatchUpdateDataObjectsResponse> BatchUpdateDataObjects(BatchUpdateDataObjectsRequest request, ServerCallContext context)

Updates dataObjects in a batch.

Parameters
Name Description
request BatchUpdateDataObjectsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskBatchUpdateDataObjectsResponse

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

CreateDataObject(CreateDataObjectRequest, ServerCallContext)

public virtual Task<DataObject> CreateDataObject(CreateDataObjectRequest request, ServerCallContext context)

Creates a dataObject.

Parameters
Name Description
request CreateDataObjectRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataObject

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

DeleteDataObject(DeleteDataObjectRequest, ServerCallContext)

public virtual Task<Empty> DeleteDataObject(DeleteDataObjectRequest request, ServerCallContext context)

Deletes a dataObject.

Parameters
Name Description
request DeleteDataObjectRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

GetDataObject(GetDataObjectRequest, ServerCallContext)

public virtual Task<DataObject> GetDataObject(GetDataObjectRequest request, ServerCallContext context)

Gets a data object.

Parameters
Name Description
request GetDataObjectRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataObject

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

UpdateDataObject(UpdateDataObjectRequest, ServerCallContext)

public virtual Task<DataObject> UpdateDataObject(UpdateDataObjectRequest request, ServerCallContext context)

Updates a dataObject.

Parameters
Name Description
request UpdateDataObjectRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataObject

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