Cloud AI Platform v1 API - Class IndexEndpointService.IndexEndpointServiceClient (2.9.0)

public class IndexEndpointServiceClient : ClientBase<IndexEndpointService.IndexEndpointServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1 API class IndexEndpointService.IndexEndpointServiceClient.

Client for IndexEndpointService

Inheritance

Object > ClientBase > ClientBase<IndexEndpointService.IndexEndpointServiceClient> > IndexEndpointService.IndexEndpointServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

IndexEndpointServiceClient()

protected IndexEndpointServiceClient()

Protected parameterless constructor to allow creation of test doubles.

IndexEndpointServiceClient(CallInvoker)

public IndexEndpointServiceClient(CallInvoker callInvoker)

Creates a new client for IndexEndpointService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

IndexEndpointServiceClient(ChannelBase)

public IndexEndpointServiceClient(ChannelBase channel)

Creates a new client for IndexEndpointService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

IndexEndpointServiceClient(ClientBase.ClientBaseConfiguration)

protected IndexEndpointServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicy.IAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateIndexEndpoint(CreateIndexEndpointRequest, CallOptions)

public virtual Operation CreateIndexEndpoint(CreateIndexEndpointRequest request, CallOptions options)

Creates an IndexEndpoint.

Parameters
NameDescription
requestCreateIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateIndexEndpoint(CreateIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateIndexEndpoint(CreateIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an IndexEndpoint.

Parameters
NameDescription
requestCreateIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateIndexEndpointAsync(CreateIndexEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateIndexEndpointAsync(CreateIndexEndpointRequest request, CallOptions options)

Creates an IndexEndpoint.

Parameters
NameDescription
requestCreateIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateIndexEndpointAsync(CreateIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateIndexEndpointAsync(CreateIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an IndexEndpoint.

Parameters
NameDescription
requestCreateIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
Locations.LocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

DeleteIndexEndpoint(DeleteIndexEndpointRequest, CallOptions)

public virtual Operation DeleteIndexEndpoint(DeleteIndexEndpointRequest request, CallOptions options)

Deletes an IndexEndpoint.

Parameters
NameDescription
requestDeleteIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteIndexEndpoint(DeleteIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteIndexEndpoint(DeleteIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an IndexEndpoint.

Parameters
NameDescription
requestDeleteIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteIndexEndpointAsync(DeleteIndexEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteIndexEndpointAsync(DeleteIndexEndpointRequest request, CallOptions options)

Deletes an IndexEndpoint.

Parameters
NameDescription
requestDeleteIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteIndexEndpointAsync(DeleteIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteIndexEndpointAsync(DeleteIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an IndexEndpoint.

Parameters
NameDescription
requestDeleteIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeployIndex(DeployIndexRequest, CallOptions)

public virtual Operation DeployIndex(DeployIndexRequest request, CallOptions options)

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

Parameters
NameDescription
requestDeployIndexRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeployIndex(DeployIndexRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeployIndex(DeployIndexRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

Parameters
NameDescription
requestDeployIndexRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeployIndexAsync(DeployIndexRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeployIndexAsync(DeployIndexRequest request, CallOptions options)

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

Parameters
NameDescription
requestDeployIndexRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeployIndexAsync(DeployIndexRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeployIndexAsync(DeployIndexRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

Parameters
NameDescription
requestDeployIndexRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

GetIndexEndpoint(GetIndexEndpointRequest, CallOptions)

public virtual IndexEndpoint GetIndexEndpoint(GetIndexEndpointRequest request, CallOptions options)

Gets an IndexEndpoint.

Parameters
NameDescription
requestGetIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
IndexEndpoint

The response received from the server.

GetIndexEndpoint(GetIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual IndexEndpoint GetIndexEndpoint(GetIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an IndexEndpoint.

Parameters
NameDescription
requestGetIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
IndexEndpoint

The response received from the server.

GetIndexEndpointAsync(GetIndexEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<IndexEndpoint> GetIndexEndpointAsync(GetIndexEndpointRequest request, CallOptions options)

Gets an IndexEndpoint.

Parameters
NameDescription
requestGetIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<IndexEndpoint>

The call object.

GetIndexEndpointAsync(GetIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<IndexEndpoint> GetIndexEndpointAsync(GetIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an IndexEndpoint.

Parameters
NameDescription
requestGetIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<IndexEndpoint>

The call object.

ListIndexEndpoints(ListIndexEndpointsRequest, CallOptions)

public virtual ListIndexEndpointsResponse ListIndexEndpoints(ListIndexEndpointsRequest request, CallOptions options)

Lists IndexEndpoints in a Location.

Parameters
NameDescription
requestListIndexEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListIndexEndpointsResponse

The response received from the server.

ListIndexEndpoints(ListIndexEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListIndexEndpointsResponse ListIndexEndpoints(ListIndexEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists IndexEndpoints in a Location.

Parameters
NameDescription
requestListIndexEndpointsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListIndexEndpointsResponse

The response received from the server.

ListIndexEndpointsAsync(ListIndexEndpointsRequest, CallOptions)

public virtual AsyncUnaryCall<ListIndexEndpointsResponse> ListIndexEndpointsAsync(ListIndexEndpointsRequest request, CallOptions options)

Lists IndexEndpoints in a Location.

Parameters
NameDescription
requestListIndexEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListIndexEndpointsResponse>

The call object.

ListIndexEndpointsAsync(ListIndexEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListIndexEndpointsResponse> ListIndexEndpointsAsync(ListIndexEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists IndexEndpoints in a Location.

Parameters
NameDescription
requestListIndexEndpointsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListIndexEndpointsResponse>

The call object.

MutateDeployedIndex(MutateDeployedIndexRequest, CallOptions)

public virtual Operation MutateDeployedIndex(MutateDeployedIndexRequest request, CallOptions options)

Update an existing DeployedIndex under an IndexEndpoint.

Parameters
NameDescription
requestMutateDeployedIndexRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

MutateDeployedIndex(MutateDeployedIndexRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation MutateDeployedIndex(MutateDeployedIndexRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update an existing DeployedIndex under an IndexEndpoint.

Parameters
NameDescription
requestMutateDeployedIndexRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

MutateDeployedIndexAsync(MutateDeployedIndexRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> MutateDeployedIndexAsync(MutateDeployedIndexRequest request, CallOptions options)

Update an existing DeployedIndex under an IndexEndpoint.

Parameters
NameDescription
requestMutateDeployedIndexRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

MutateDeployedIndexAsync(MutateDeployedIndexRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> MutateDeployedIndexAsync(MutateDeployedIndexRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update an existing DeployedIndex under an IndexEndpoint.

Parameters
NameDescription
requestMutateDeployedIndexRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override IndexEndpointService.IndexEndpointServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
IndexEndpointService.IndexEndpointServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1.IndexEndpointService.IndexEndpointServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UndeployIndex(UndeployIndexRequest, CallOptions)

public virtual Operation UndeployIndex(UndeployIndexRequest request, CallOptions options)

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployIndexRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UndeployIndex(UndeployIndexRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation UndeployIndex(UndeployIndexRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployIndexRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UndeployIndexAsync(UndeployIndexRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UndeployIndexAsync(UndeployIndexRequest request, CallOptions options)

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployIndexRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UndeployIndexAsync(UndeployIndexRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UndeployIndexAsync(UndeployIndexRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployIndexRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateIndexEndpoint(UpdateIndexEndpointRequest, CallOptions)

public virtual IndexEndpoint UpdateIndexEndpoint(UpdateIndexEndpointRequest request, CallOptions options)

Updates an IndexEndpoint.

Parameters
NameDescription
requestUpdateIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
IndexEndpoint

The response received from the server.

UpdateIndexEndpoint(UpdateIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual IndexEndpoint UpdateIndexEndpoint(UpdateIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates an IndexEndpoint.

Parameters
NameDescription
requestUpdateIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
IndexEndpoint

The response received from the server.

UpdateIndexEndpointAsync(UpdateIndexEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<IndexEndpoint> UpdateIndexEndpointAsync(UpdateIndexEndpointRequest request, CallOptions options)

Updates an IndexEndpoint.

Parameters
NameDescription
requestUpdateIndexEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<IndexEndpoint>

The call object.

UpdateIndexEndpointAsync(UpdateIndexEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<IndexEndpoint> UpdateIndexEndpointAsync(UpdateIndexEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates an IndexEndpoint.

Parameters
NameDescription
requestUpdateIndexEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<IndexEndpoint>

The call object.