Class MigrationService.MigrationServiceClient (2.3.0)

public class MigrationServiceClient : ClientBase<MigrationService.MigrationServiceClient>

Client for MigrationService

Inheritance

Object > ClientBase > ClientBase<MigrationService.MigrationServiceClient> > MigrationService.MigrationServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MigrationServiceClient()

protected MigrationServiceClient()

Protected parameterless constructor to allow creation of test doubles.

MigrationServiceClient(CallInvoker)

public MigrationServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

MigrationServiceClient(ChannelBase)

public MigrationServiceClient(ChannelBase channel)

Creates a new client for MigrationService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

MigrationServiceClient(ClientBase.ClientBaseConfiguration)

protected MigrationServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

BatchMigrateResources(BatchMigrateResourcesRequest, CallOptions)

public virtual Operation BatchMigrateResources(BatchMigrateResourcesRequest request, CallOptions options)

Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.

Parameters
NameDescription
requestBatchMigrateResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchMigrateResources(BatchMigrateResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.

Parameters
NameDescription
requestBatchMigrateResourcesRequest

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.

BatchMigrateResourcesAsync(BatchMigrateResourcesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchMigrateResourcesAsync(BatchMigrateResourcesRequest request, CallOptions options)

Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.

Parameters
NameDescription
requestBatchMigrateResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

BatchMigrateResourcesAsync(BatchMigrateResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.

Parameters
NameDescription
requestBatchMigrateResourcesRequest

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.

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.

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.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override MigrationService.MigrationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

SearchMigratableResources(SearchMigratableResourcesRequest, CallOptions)

public virtual SearchMigratableResourcesResponse SearchMigratableResources(SearchMigratableResourcesRequest request, CallOptions options)

Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.

Parameters
NameDescription
requestSearchMigratableResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchMigratableResourcesResponse

The response received from the server.

SearchMigratableResources(SearchMigratableResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual SearchMigratableResourcesResponse SearchMigratableResources(SearchMigratableResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.

Parameters
NameDescription
requestSearchMigratableResourcesRequest

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
SearchMigratableResourcesResponse

The response received from the server.

SearchMigratableResourcesAsync(SearchMigratableResourcesRequest, CallOptions)

public virtual AsyncUnaryCall<SearchMigratableResourcesResponse> SearchMigratableResourcesAsync(SearchMigratableResourcesRequest request, CallOptions options)

Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.

Parameters
NameDescription
requestSearchMigratableResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SearchMigratableResourcesResponse>

The call object.

SearchMigratableResourcesAsync(SearchMigratableResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<SearchMigratableResourcesResponse> SearchMigratableResourcesAsync(SearchMigratableResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.

Parameters
NameDescription
requestSearchMigratableResourcesRequest

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<SearchMigratableResourcesResponse>

The call object.