public class MigrationServiceClient : ClientBase<MigrationService.MigrationServiceClient>Client for MigrationService
Inheritance
Object > ClientBase > ClientBase<MigrationService.MigrationServiceClient> > MigrationService.MigrationServiceClientNamespace
Google.Cloud.AIPlatform.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
MigrationServiceClient(ChannelBase)
public MigrationServiceClient(ChannelBase channel)Creates a new client for MigrationService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
MigrationServiceClient(ClientBase.ClientBaseConfiguration)
protected MigrationServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe 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 |
BatchMigrateResourcesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
BatchMigrateResources(BatchMigrateResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation BatchMigrateResources(BatchMigrateResourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchMigrateResourcesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
BatchMigrateResourcesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
BatchMigrateResourcesAsync(BatchMigrateResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchMigrateResourcesAsync(BatchMigrateResourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchMigrateResourcesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
MigrationService.MigrationServiceClient |
|
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 |
SearchMigratableResourcesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SearchMigratableResourcesResponse |
The response received from the server. |
SearchMigratableResources(SearchMigratableResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SearchMigratableResourcesResponse SearchMigratableResources(SearchMigratableResourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
|---|---|
| Name | Description |
request |
SearchMigratableResourcesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
SearchMigratableResourcesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SearchMigratableResourcesResponse> |
The call object. |
SearchMigratableResourcesAsync(SearchMigratableResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SearchMigratableResourcesResponse> SearchMigratableResourcesAsync(SearchMigratableResourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
|---|---|
| Name | Description |
request |
SearchMigratableResourcesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SearchMigratableResourcesResponse> |
The call object. |