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
posthttps://{service-endpoint}/v1beta1/{parent}/migratableResources:search
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
parentstring
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:
pageSizeinteger
The standard page size. The default and maximum value is 100.
pageTokenstring
The standard page token.
filterstring
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
Response message for MigrationService.SearchMigratableResources.
If successful, the response body contains data with the following structure:
All migratable resources that can be migrated to the location specified in the request.
nextPageTokenstring
The standard next-page token. The migratableResources may not fill pageSize in SearchMigratableResourcesRequest even when there are subsequent pages.
| JSON representation |
|---|
{
"migratableResources": [
{
object ( |
MigratableResource
Represents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.
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 use 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 use 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".
resourceUnion type
resource can be only one of the following:Output only. Represents one version in ml.googleapis.com.
Output only. Represents one Model in automl.googleapis.com.
Output only. Represents one Dataset in automl.googleapis.com.
Output only. Represents one Dataset in datalabeling.googleapis.com.
| JSON representation |
|---|
{ "lastMigrateTime": string, "lastUpdateTime": string, // resource "mlEngineModelVersion": { object ( |
MlEngineModelVersion
Represents one model version in ml.googleapis.com.
endpointstring
The ml.googleapis.com endpoint that this model version currently lives in. Example values:
- ml.googleapis.com
- us-centrall-ml.googleapis.com
- europe-west4-ml.googleapis.com
- asia-east1-ml.googleapis.com
versionstring
Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.
| JSON representation |
|---|
{ "endpoint": string, "version": string } |
AutomlModel
Represents one Model in automl.googleapis.com.
modelstring
Full resource name of automl Model. Format: projects/{project}/locations/{location}/models/{model}.
modelDisplayNamestring
The Model's display name in automl.googleapis.com.
| JSON representation |
|---|
{ "model": string, "modelDisplayName": string } |
AutomlDataset
Represents one Dataset in automl.googleapis.com.
datasetstring
Full resource name of automl Dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}.
datasetDisplayNamestring
The Dataset's display name in automl.googleapis.com.
| JSON representation |
|---|
{ "dataset": string, "datasetDisplayName": string } |
DataLabelingDataset
Represents one Dataset in datalabeling.googleapis.com.
datasetstring
Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.
datasetDisplayNamestring
The Dataset's display name in datalabeling.googleapis.com.
The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.
| JSON representation |
|---|
{
"dataset": string,
"datasetDisplayName": string,
"dataLabelingAnnotatedDatasets": [
{
object ( |
DataLabelingAnnotatedDataset
Represents one AnnotatedDataset in datalabeling.googleapis.com.
annotatedDatasetstring
Full resource name of data labeling AnnotatedDataset. Format: projects/{project}/datasets/{dataset}/annotatedDatasets/{annotatedDataset}.
annotatedDatasetDisplayNamestring
The AnnotatedDataset's display name in datalabeling.googleapis.com.
| JSON representation |
|---|
{ "annotatedDataset": string, "annotatedDatasetDisplayName": string } |