Stay organized with collections
Save and categorize content based on your preferences.
Full name: projects.locations.migratableResources.search
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.
Endpoint
post
https://{service-endpoint}/v1/{parent}/migratableResources:search
Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}
Request body
The request body contains data with the following structure:
Fields
pageSize
integer
The standard page size. The default and maximum value is 100.
pageToken
string
The standard page token.
filter
string
A filter for your search. You can use the following types of filters:
Resource type filters. The following strings filter for a specific type of MigratableResource:
mlEngineModelVersion:*
automlModel:*
automlDataset:*
dataLabelingDataset:*
"Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:
lastMigrateTime:* filters for migrated resources.
NOT lastMigrateTime:* filters for not yet migrated resources.
Output only. timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. timestamp when this MigratableResource was last updated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
[[["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.search\n\n**Full name**: projects.locations.migratableResources.search\n\nSearches 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. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1``/{parent}``/migratableResources:search` \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 that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: `projects/{project}/locations/{location}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `pageSize` `integer` \nThe standard page size. The default and maximum value is 100.\n`pageToken` `string` \nThe standard page token.\n`filter` `string` \nA filter for your search. You can use the following types of filters:\n\n- Resource type filters. The following strings filter for a specific type of [MigratableResource](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#MigratableResource):\n - `mlEngineModelVersion:*`\n - `automlModel:*`\n - `automlDataset:*`\n - `dataLabelingDataset:*`\n- \"Migrated or not\" filters. The following strings filter for resources that either have or have not already been migrated:\n - `lastMigrateTime:*` filters for migrated resources.\n- `NOT lastMigrateTime:*` filters for not yet migrated resources. \n\n### Response body\n\nResponse message for [MigrationService.SearchMigratableResources](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources).\n\nIf successful, the response body contains data with the following structure:\nFields `migratableResources[]` `object (`[MigratableResource](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#MigratableResource)`)` \nAll migratable resources that can be migrated to the location specified in the request.\n`nextPageToken` `string` \nThe standard next-page token. The migratableResources may not fill pageSize in SearchMigratableResourcesRequest even when there are subsequent pages. \n\nMigratableResource\n------------------\n\nRepresents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.\nFields `lastMigrateTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nOutput only. timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`.\n`lastUpdateTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nOutput only. timestamp when this MigratableResource was last updated.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. \n`resource` `Union type` \n`resource` can be only one of the following:\n`mlEngineModelVersion` `object (`[MlEngineModelVersion](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#MlEngineModelVersion)`)` \nOutput only. Represents one version in ml.googleapis.com.\n`automlModel` `object (`[AutomlModel](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#AutomlModel)`)` \nOutput only. Represents one Model in automl.googleapis.com.\n`automlDataset` `object (`[AutomlDataset](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#AutomlDataset)`)` \nOutput only. Represents one Dataset in automl.googleapis.com.\n`dataLabelingDataset` `object (`[DataLabelingDataset](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#DataLabelingDataset)`)` \nOutput only. Represents one Dataset in datalabeling.googleapis.com. \n\nMlEngineModelVersion\n--------------------\n\nRepresents one model version in ml.googleapis.com.\nFields `endpoint` `string` \nThe ml.googleapis.com endpoint that this model version currently lives in. Example values:\n\n- ml.googleapis.com\n- us-centrall-ml.googleapis.com\n- europe-west4-ml.googleapis.com\n- asia-east1-ml.googleapis.com\n`version` `string` \nFull resource name of ml engine model version. Format: `projects/{project}/models/{model}/versions/{version}`. \n\nAutomlModel\n-----------\n\nRepresents one Model in automl.googleapis.com.\nFields `model` `string` \nFull resource name of automl Model. Format: `projects/{project}/locations/{location}/models/{model}`.\n`modelDisplayName` `string` \nThe Model's display name in automl.googleapis.com. \n\nAutomlDataset\n-------------\n\nRepresents one Dataset in automl.googleapis.com.\nFields `dataset` `string` \nFull resource name of automl Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`.\n`datasetDisplayName` `string` \nThe Dataset's display name in automl.googleapis.com. \n\nDataLabelingDataset\n-------------------\n\nRepresents one Dataset in datalabeling.googleapis.com.\nFields `dataset` `string` \nFull resource name of data labeling Dataset. Format: `projects/{project}/datasets/{dataset}`.\n`datasetDisplayName` `string` \nThe Dataset's display name in datalabeling.googleapis.com.\n`dataLabelingAnnotatedDatasets[]` `object (`[DataLabelingAnnotatedDataset](/vertex-ai/docs/reference/rest/v1/projects.locations.migratableResources/search#DataLabelingAnnotatedDataset)`)` \nThe migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset. \n\nDataLabelingAnnotatedDataset\n----------------------------\n\nRepresents one AnnotatedDataset in datalabeling.googleapis.com.\nFields `annotatedDataset` `string` \nFull resource name of data labeling AnnotatedDataset. Format: `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotatedDataset}`.\n`annotatedDatasetDisplayName` `string` \nThe AnnotatedDataset's display name in datalabeling.googleapis.com."]]