Method: projects.locations.migratableResources.search

Stay organized with collections Save and categorize content based on your preferences.

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.

HTTP request

POST https://{service-endpoint}/v1beta1/{parent}/migratableResources:search

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

Path parameters

Parameters
parent

string

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:

JSON representation
{
  "pageSize": integer,
  "pageToken": string,
  "filter": string
}
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.

Response body

If successful, the response body contains data with the following structure:

Response message for MigrationService.SearchMigratableResources.

JSON representation
{
  "migratableResources": [
    {
      object (MigratableResource)
    }
  ],
  "nextPageToken": string
}
Fields
migratableResources[]

object (