[BindServiceMethod(typeof(IndexService), "BindService")]
public abstract class IndexServiceBase
Base class for server-side implementations of IndexService
Namespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Methods
CreateIndex(CreateIndexRequest, ServerCallContext)
public virtual Task<Operation> CreateIndex(CreateIndexRequest request, ServerCallContext context)
Creates an Index.
Parameters | |
---|---|
Name | Description |
request | CreateIndexRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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.v1.Index.deployed_indexes] had been undeployed.
Parameters | |
---|---|
Name | Description |
request | DeleteIndexRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | GetIndexRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Index> | 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 | ListIndexesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListIndexesResponse> | 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 | UpdateIndexRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |