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.
Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong to the datalabeling Dataset.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: migratableResources.batchMigrate\n\n**Full name**: projects.locations.migratableResources.batchMigrate\n\nBatch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1beta1``/{parent}``/migratableResources:batchMigrate` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`parent` `string` \nRequired. The location of the migrated resource will live in. Format: `projects/{project}/locations/{location}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `migrateResourceRequests[]` `object (`[MigrateResourceRequest](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.migratableResources/batchMigrate#MigrateResourceRequest)`)` \nRequired. 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. \n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/vertex-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\nMigrateResourceRequest\n----------------------\n\nConfig of migrating one resource from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.\nFields \n`request` `Union type` \n`request` can be only one of the following:\n`migrateMlEngineModelVersionConfig` `object (`[MigrateMlEngineModelVersionConfig](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.migratableResources/batchMigrate#MigrateMlEngineModelVersionConfig)`)` \nConfig for migrating version in ml.googleapis.com to Vertex AI's Model.\n`migrateAutomlModelConfig` `object (`[MigrateAutomlModelConfig](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.migratableResources/batchMigrate#MigrateAutomlModelConfig)`)` \nConfig for migrating Model in automl.googleapis.com to Vertex AI's Model.\n`migrateAutomlDatasetConfig` `object (`[MigrateAutomlDatasetConfig](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.migratableResources/batchMigrate#MigrateAutomlDatasetConfig)`)` \nConfig for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.\n`migrateDataLabelingDatasetConfig` `object (`[MigrateDataLabelingDatasetConfig](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.migratableResources/batchMigrate#MigrateDataLabelingDatasetConfig)`)` \nConfig for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset. \n\nMigrateMlEngineModelVersionConfig\n---------------------------------\n\nConfig for migrating version in ml.googleapis.com to Vertex AI's Model.\nFields `endpoint` `string` \nRequired. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:\n\n- ml.googleapis.com\n\n- us-centrall-ml.googleapis.com\n\n- europe-west4-ml.googleapis.com\n\n- asia-east1-ml.googleapis.com\n\n`modelVersion` `string` \nRequired. Full resource name of ml engine model version. Format: `projects/{project}/models/{model}/versions/{version}`.\n`modelDisplayName` `string` \nRequired. Display name of the model in Vertex AI. System will pick a display name if unspecified. \n\nMigrateAutomlModelConfig\n------------------------\n\nConfig for migrating Model in automl.googleapis.com to Vertex AI's Model.\nFields `model` `string` \nRequired. Full resource name of automl Model. Format: `projects/{project}/locations/{location}/models/{model}`.\n`modelDisplayName` `string` \nOptional. Display name of the model in Vertex AI. System will pick a display name if unspecified. \n\nMigrateAutomlDatasetConfig\n--------------------------\n\nConfig for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.\nFields `dataset` `string` \nRequired. Full resource name of automl Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`.\n`datasetDisplayName` `string` \nRequired. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified. \n\nMigrateDataLabelingDatasetConfig\n--------------------------------\n\nConfig for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.\nFields `dataset` `string` \nRequired. Full resource name of data labeling Dataset. Format: `projects/{project}/datasets/{dataset}`.\n`datasetDisplayName` `string` \nOptional. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified.\n`migrateDataLabelingAnnotatedDatasetConfigs[]` `object (`[MigrateDataLabelingAnnotatedDatasetConfig](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.migratableResources/batchMigrate#MigrateDataLabelingAnnotatedDatasetConfig)`)` \nOptional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong to the datalabeling Dataset. \n\nMigrateDataLabelingAnnotatedDatasetConfig\n-----------------------------------------\n\nConfig for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery.\nFields `annotatedDataset` `string` \nRequired. Full resource name of data labeling AnnotatedDataset. Format: `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotatedDataset}`."]]