Cloud AI Platform v1 API - Class MigrationService.MigrationServiceClient (2.19.0)

public class MigrationService.MigrationServiceClient : ClientBase<MigrationService.MigrationServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1 API class MigrationService.MigrationServiceClient.

Client for MigrationService

Inheritance

object > ClientBase > ClientBaseMigrationServiceMigrationServiceClient > 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(ClientBaseConfiguration)

protected MigrationServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

BatchMigrateResourcesAsync(BatchMigrateResourcesRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallOperation

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
IAMPolicyIAMPolicyClient

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
LocationsLocationsClient

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
OperationsOperationsClient

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

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
MigrationServiceMigrationServiceClient
Overrides

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallSearchMigratableResourcesResponse

The call object.

SearchMigratableResourcesAsync(SearchMigratableResourcesRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallSearchMigratableResourcesResponse

The call object.