[BindServiceMethod(typeof(IndexService), "BindService")]
public abstract class IndexService.IndexServiceBaseReference documentation and code samples for the Vertex AI v1beta1 API class IndexService.IndexServiceBase.
Base class for server-side implementations of IndexService
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Methods
CreateIndex(CreateIndexRequest, ServerCallContext)
public virtual Task<Operation> CreateIndex(CreateIndexRequest request, ServerCallContext context)Creates an Index.
| 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). |
DeleteIndex(DeleteIndexRequest, ServerCallContext)
public virtual Task<Operation> DeleteIndex(DeleteIndexRequest request, ServerCallContext context)Deletes an Index. An Index can only be deleted when all its [DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes] had been undeployed.
| 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). |
GetIndex(GetIndexRequest, ServerCallContext)
public virtual Task<Index> GetIndex(GetIndexRequest request, ServerCallContext context)Gets an 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). |
ImportIndex(ImportIndexRequest, ServerCallContext)
public virtual Task<Operation> ImportIndex(ImportIndexRequest request, ServerCallContext context)Imports an Index from an external source (e.g., BigQuery).
| Parameters | |
|---|---|
| Name | Description |
request |
ImportIndexRequestThe 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). |
ListIndexes(ListIndexesRequest, ServerCallContext)
public virtual Task<ListIndexesResponse> ListIndexes(ListIndexesRequest request, ServerCallContext context)Lists Indexes in a 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). |
RemoveDatapoints(RemoveDatapointsRequest, ServerCallContext)
public virtual Task<RemoveDatapointsResponse> RemoveDatapoints(RemoveDatapointsRequest request, ServerCallContext context)Remove Datapoints from an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDatapointsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveDatapointsResponse |
The response to send back to the client (wrapped by a task). |
UpdateIndex(UpdateIndexRequest, ServerCallContext)
public virtual Task<Operation> UpdateIndex(UpdateIndexRequest request, ServerCallContext context)Updates an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexRequestThe 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). |
UpsertDatapoints(UpsertDatapointsRequest, ServerCallContext)
public virtual Task<UpsertDatapointsResponse> UpsertDatapoints(UpsertDatapointsRequest request, ServerCallContext context)Add/update Datapoints into an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
UpsertDatapointsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskUpsertDatapointsResponse |
The response to send back to the client (wrapped by a task). |