Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.
HTTP request
POST https://{service-endpoint}/v1/{parent}/migratableResources:batchMigrate
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
parent |
Required. The location of the migrated resource will live in. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"migrateResourceRequests": [
{
object ( |
Fields | |
---|---|
migrateResourceRequests[] |
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
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
aiplatform.migratableResources.migrate
For more information, see the IAM documentation.
MigrateResourceRequest
Config of migrating one resource from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
migrateMlEngineModelVersionConfig |
Config for migrating version in ml.googleapis.com to Vertex AI's Model. |
migrateAutomlModelConfig |
Config for migrating Model in automl.googleapis.com to Vertex AI's Model. |
migrateAutomlDatasetConfig |
Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset. |
migrateDataLabelingDatasetConfig |
Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset. |
MigrateMlEngineModelVersionConfig
Config for migrating version in ml.googleapis.com to Vertex AI's Model.
JSON representation |
---|
{ "endpoint": string, "modelVersion": string, "modelDisplayName": string } |
Fields | |
---|---|
endpoint |
Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:
|
modelVersion |
Required. Full resource name of ml engine model version. Format: |
modelDisplayName |
Required. Display name of the model in Vertex AI. System will pick a display name if unspecified. |
MigrateAutomlModelConfig
Config for migrating Model in automl.googleapis.com to Vertex AI's Model.
JSON representation |
---|
{ "model": string, "modelDisplayName": string } |
Fields | |
---|---|
model |
Required. Full resource name of automl Model. Format: |
modelDisplayName |
Optional. Display name of the model in Vertex AI. System will pick a display name if unspecified. |
MigrateAutomlDatasetConfig
Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.
JSON representation |
---|
{ "dataset": string, "datasetDisplayName": string } |
Fields | |
---|---|
dataset |
Required. Full resource name of automl Dataset. Format: |
datasetDisplayName |
Required. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified. |
MigrateDataLabelingDatasetConfig
Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.
JSON representation |
---|
{
"dataset": string,
"datasetDisplayName": string,
"migrateDataLabelingAnnotatedDatasetConfigs": [
{
object ( |
Fields | |
---|---|
dataset |
Required. Full resource name of data labeling Dataset. Format: |
datasetDisplayName |
Optional. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified. |
migrateDataLabelingAnnotatedDatasetConfigs[] |
Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong to the datalabeling Dataset. |
MigrateDataLabelingAnnotatedDatasetConfig
Config for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery.
JSON representation |
---|
{ "annotatedDataset": string } |
Fields | |
---|---|
annotatedDataset |
Required. Full resource name of data labeling AnnotatedDataset. Format: |