Method: projects.locations.migratableResources.batchMigrate

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

Endpoint

post https://{endpoint}/v1beta1/{parent}/migratableResources:batchMigrate

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

parent string

Required. The location of the migrated resource will live in. Format: projects/{project}/locations/{location}

Request body

The request body contains data with the following structure:

Fields
migrateResourceRequests[] object (MigrateResourceRequest)

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

Response body

If successful, the response body contains an instance of Operation.

MigrateResourceRequest

Config of migrating one resource from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.

Fields

Union field request.

request can be only one of the following:

migrateMlEngineModelVersionConfig object (MigrateMlEngineModelVersionConfig)

Config for migrating version in ml.googleapis.com to Vertex AI's Model.

migrateAutomlModelConfig object (MigrateAutomlModelConfig)

Config for migrating Model in automl.googleapis.com to Vertex AI's Model.

migrateAutomlDatasetConfig object (MigrateAutomlDatasetConfig)

Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.

migrateDataLabelingDatasetConfig object (MigrateDataLabelingDatasetConfig)

Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.

JSON representation
{

  // Union field request can be only one of the following:
  "migrateMlEngineModelVersionConfig": {
    object (MigrateMlEngineModelVersionConfig)
  },
  "migrateAutomlModelConfig": {
    object (MigrateAutomlModelConfig)
  },
  "migrateAutomlDatasetConfig": {
    object (MigrateAutomlDatasetConfig)
  },
  "migrateDataLabelingDatasetConfig": {
    object (MigrateDataLabelingDatasetConfig)
  }
  // End of list of possible types for union field request.
}

MigrateMlEngineModelVersionConfig

Config for migrating version in ml.googleapis.com to Vertex AI's Model.

Fields
endpoint string

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:

  • ml.googleapis.com

  • us-centrall-ml.googleapis.com

  • europe-west4-ml.googleapis.com

  • asia-east1-ml.googleapis.com

modelVersion string

Required. Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.

modelDisplayName string

Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.

JSON representation
{
  "endpoint": string,
  "modelVersion": string,
  "modelDisplayName": string
}

MigrateAutomlModelConfig

Config for migrating Model in automl.googleapis.com to Vertex AI's Model.

Fields
model string

Required. Full resource name of automl Model. Format: projects/{project}/locations/{location}/models/{model}.

modelDisplayName string

Optional. Display name of the model in Vertex AI. System will pick a display name if unspecified.

JSON representation
{
  "model": string,
  "modelDisplayName": string
}

MigrateAutomlDatasetConfig

Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.

Fields
dataset string

Required. Full resource name of automl Dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}.

datasetDisplayName string

Required. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified.

JSON representation
{
  "dataset": string,
  "datasetDisplayName": string
}

MigrateDataLabelingDatasetConfig

Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.

Fields
dataset string

Required. Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.

datasetDisplayName string

Optional. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified.

migrateDataLabelingAnnotatedDatasetConfigs[] object (MigrateDataLabelingAnnotatedDatasetConfig)

Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong to the datalabeling Dataset.

JSON representation
{
  "dataset": string,
  "datasetDisplayName": string,
  "migrateDataLabelingAnnotatedDatasetConfigs": [
    {
      object (MigrateDataLabelingAnnotatedDatasetConfig)
    }
  ]
}

MigrateDataLabelingAnnotatedDatasetConfig

Config for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery.

Fields
annotatedDataset string

Required. Full resource name of data labeling AnnotatedDataset. Format: projects/{project}/datasets/{dataset}/annotatedDatasets/{annotatedDataset}.

JSON representation
{
  "annotatedDataset": string
}