public sealed class IndexServiceClientImpl : IndexServiceClientReference documentation and code samples for the Vertex AI v1beta1 API class IndexServiceClientImpl.
IndexService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Remarks
A service for creating and managing Vertex AI's Index resources.
Constructors
IndexServiceClientImpl(IndexServiceClient, IndexServiceSettings, ILogger)
public IndexServiceClientImpl(IndexService.IndexServiceClient grpcClient, IndexServiceSettings settings, ILogger logger)Constructs a client wrapper for the IndexService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
IndexServiceIndexServiceClientThe underlying gRPC client. |
settings |
IndexServiceSettingsThe base IndexServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateIndexOperationsClient
public override OperationsClient CreateIndexOperationsClient { get; }The long-running operations client for CreateIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteIndexOperationsClient
public override OperationsClient DeleteIndexOperationsClient { get; }The long-running operations client for DeleteIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override IndexService.IndexServiceClient GrpcClient { get; }The underlying gRPC IndexService client
| Property Value | |
|---|---|
| Type | Description |
IndexServiceIndexServiceClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
ImportIndexOperationsClient
public override OperationsClient ImportIndexOperationsClient { get; }The long-running operations client for ImportIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UpdateIndexOperationsClient
public override OperationsClient UpdateIndexOperationsClient { get; }The long-running operations client for UpdateIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateIndex(CreateIndexRequest, CallSettings)
public override Operation<Index, CreateIndexOperationMetadata> CreateIndex(CreateIndexRequest request, CallSettings callSettings = null)Creates an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexCreateIndexOperationMetadata |
The RPC response. |
CreateIndexAsync(CreateIndexRequest, CallSettings)
public override Task<Operation<Index, CreateIndexOperationMetadata>> CreateIndexAsync(CreateIndexRequest request, CallSettings callSettings = null)Creates an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexCreateIndexOperationMetadata |
A Task containing the RPC response. |
DeleteIndex(DeleteIndexRequest, CallSettings)
public override Operation<Empty, DeleteOperationMetadata> DeleteIndex(DeleteIndexRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteOperationMetadata |
The RPC response. |
DeleteIndexAsync(DeleteIndexRequest, CallSettings)
public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteIndexAsync(DeleteIndexRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteOperationMetadata |
A Task containing the RPC response. |
GetIndex(GetIndexRequest, CallSettings)
public override Index GetIndex(GetIndexRequest request, CallSettings callSettings = null)Gets an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Index |
The RPC response. |
GetIndexAsync(GetIndexRequest, CallSettings)
public override Task<Index> GetIndexAsync(GetIndexRequest request, CallSettings callSettings = null)Gets an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIndex |
A Task containing the RPC response. |
ImportIndex(ImportIndexRequest, CallSettings)
public override Operation<Index, ImportIndexOperationMetadata> ImportIndex(ImportIndexRequest request, CallSettings callSettings = null)Imports an Index from an external source (e.g., BigQuery).
| Parameters | |
|---|---|
| Name | Description |
request |
ImportIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexImportIndexOperationMetadata |
The RPC response. |
ImportIndexAsync(ImportIndexRequest, CallSettings)
public override Task<Operation<Index, ImportIndexOperationMetadata>> ImportIndexAsync(ImportIndexRequest request, CallSettings callSettings = null)Imports an Index from an external source (e.g., BigQuery).
| Parameters | |
|---|---|
| Name | Description |
request |
ImportIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexImportIndexOperationMetadata |
A Task containing the RPC response. |
ListIndexes(ListIndexesRequest, CallSettings)
public override PagedEnumerable<ListIndexesResponse, Index> ListIndexes(ListIndexesRequest request, CallSettings callSettings = null)Lists Indexes in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListIndexesResponseIndex |
A pageable sequence of Index resources. |
ListIndexesAsync(ListIndexesRequest, CallSettings)
public override PagedAsyncEnumerable<ListIndexesResponse, Index> ListIndexesAsync(ListIndexesRequest request, CallSettings callSettings = null)Lists Indexes in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListIndexesResponseIndex |
A pageable asynchronous sequence of Index resources. |
RemoveDatapoints(RemoveDatapointsRequest, CallSettings)
public override RemoveDatapointsResponse RemoveDatapoints(RemoveDatapointsRequest request, CallSettings callSettings = null)Remove Datapoints from an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDatapointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveDatapointsResponse |
The RPC response. |
RemoveDatapointsAsync(RemoveDatapointsRequest, CallSettings)
public override Task<RemoveDatapointsResponse> RemoveDatapointsAsync(RemoveDatapointsRequest request, CallSettings callSettings = null)Remove Datapoints from an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDatapointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveDatapointsResponse |
A Task containing the RPC response. |
UpdateIndex(UpdateIndexRequest, CallSettings)
public override Operation<Index, UpdateIndexOperationMetadata> UpdateIndex(UpdateIndexRequest request, CallSettings callSettings = null)Updates an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexUpdateIndexOperationMetadata |
The RPC response. |
UpdateIndexAsync(UpdateIndexRequest, CallSettings)
public override Task<Operation<Index, UpdateIndexOperationMetadata>> UpdateIndexAsync(UpdateIndexRequest request, CallSettings callSettings = null)Updates an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexUpdateIndexOperationMetadata |
A Task containing the RPC response. |
UpsertDatapoints(UpsertDatapointsRequest, CallSettings)
public override UpsertDatapointsResponse UpsertDatapoints(UpsertDatapointsRequest request, CallSettings callSettings = null)Add/update Datapoints into an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
UpsertDatapointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
UpsertDatapointsResponse |
The RPC response. |
UpsertDatapointsAsync(UpsertDatapointsRequest, CallSettings)
public override Task<UpsertDatapointsResponse> UpsertDatapointsAsync(UpsertDatapointsRequest request, CallSettings callSettings = null)Add/update Datapoints into an Index.
| Parameters | |
|---|---|
| Name | Description |
request |
UpsertDatapointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskUpsertDatapointsResponse |
A Task containing the RPC response. |