[BindServiceMethod(typeof(VectorSearchService), "BindService")]
public abstract class VectorSearchService.VectorSearchServiceBaseReference documentation and code samples for the Vector Search v1 API class VectorSearchService.VectorSearchServiceBase.
Base class for server-side implementations of VectorSearchService
Namespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Methods
CreateCollection(CreateCollectionRequest, ServerCallContext)
public virtual Task<Operation> CreateCollection(CreateCollectionRequest request, ServerCallContext context)Creates a new Collection in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateIndex(CreateIndexRequest, ServerCallContext)
public virtual Task<Operation> CreateIndex(CreateIndexRequest request, ServerCallContext context)Creates a new Index in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteCollection(DeleteCollectionRequest, ServerCallContext)
public virtual Task<Operation> DeleteCollection(DeleteCollectionRequest request, ServerCallContext context)Deletes a single Collection.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteIndex(DeleteIndexRequest, ServerCallContext)
public virtual Task<Operation> DeleteIndex(DeleteIndexRequest request, ServerCallContext context)Deletes a single Index.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteIndexRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetCollection(GetCollectionRequest, ServerCallContext)
public virtual Task<Collection> GetCollection(GetCollectionRequest request, ServerCallContext context)Gets details of a single Collection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCollection |
The response to send back to the client (wrapped by a task). |
GetIndex(GetIndexRequest, ServerCallContext)
public virtual Task<Index> GetIndex(GetIndexRequest request, ServerCallContext context)Gets details of a single Index.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIndex |
The response to send back to the client (wrapped by a task). |
ImportDataObjects(ImportDataObjectsRequest, ServerCallContext)
public virtual Task<Operation> ImportDataObjects(ImportDataObjectsRequest request, ServerCallContext context)Initiates a Long-Running Operation to import DataObjects into a Collection.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportDataObjectsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ListCollections(ListCollectionsRequest, ServerCallContext)
public virtual Task<ListCollectionsResponse> ListCollections(ListCollectionsRequest request, ServerCallContext context)Lists Collections in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListCollectionsResponse |
The response to send back to the client (wrapped by a task). |
ListIndexes(ListIndexesRequest, ServerCallContext)
public virtual Task<ListIndexesResponse> ListIndexes(ListIndexesRequest request, ServerCallContext context)Lists Indexes in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListIndexesResponse |
The response to send back to the client (wrapped by a task). |
UpdateCollection(UpdateCollectionRequest, ServerCallContext)
public virtual Task<Operation> UpdateCollection(UpdateCollectionRequest request, ServerCallContext context)Updates the parameters of a single Collection.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |