Cloud AI Platform v1 API - Class MigrationService.MigrationServiceClient (3.0.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

MigrationServiceClient(ChannelBase)

public MigrationServiceClient(ChannelBase channel)

Creates a new client for MigrationService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

MigrationServiceClient(ClientBaseConfiguration)

protected MigrationServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Name Description
request BatchMigrateResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request BatchMigrateResourcesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request BatchMigrateResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request BatchMigrateResourcesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
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
Name Description
request SearchMigratableResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request SearchMigratableResourcesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request SearchMigratableResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request SearchMigratableResourcesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSearchMigratableResourcesResponse

The call object.