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}/v1/{parent}/migratableResources:search
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
parent |
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: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "pageSize": integer, "pageToken": string, "filter": string } |
Fields | |
---|---|
pageSize |
The standard page size. The default and maximum value is 100. |
pageToken |
The standard page token. |
filter |
A filter for your search. You can use the following types of filters:
|
Response body
Response message for MigrationService.SearchMigratableResources
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"migratableResources": [
{
object ( |
Fields | |
---|---|
migratableResources[] |
All migratable resources that can be migrated to the location specified in the request. |
nextPageToken |
The standard next-page token. The migratableResources may not fill pageSize in SearchMigratableResourcesRequest even when there are subsequent pages. |
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.search
For more information, see the IAM documentation.
MigratableResource
Represents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.
JSON representation |
---|
{ "lastMigrateTime": string, "lastUpdateTime": string, // Union field |
Fields | |
---|---|
lastMigrateTime |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lastUpdateTime |
Output only. timestamp when this MigratableResource was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field
|
|
mlEngineModelVersion |
Output only. Represents one version in ml.googleapis.com. |
automlModel |
Output only. Represents one Model in automl.googleapis.com. |
automlDataset |
Output only. Represents one Dataset in automl.googleapis.com. |
dataLabelingDataset |
Output only. Represents one Dataset in datalabeling.googleapis.com. |
MlEngineModelVersion
Represents one model version in ml.googleapis.com.
JSON representation |
---|
{ "endpoint": string, "version": string } |
Fields | |
---|---|
endpoint |
The ml.googleapis.com endpoint that this model version currently lives in. Example values:
|
version |
Full resource name of ml engine model version. Format: |
AutomlModel
Represents one Model in automl.googleapis.com.
JSON representation |
---|
{ "model": string, "modelDisplayName": string } |
Fields | |
---|---|
model |
Full resource name of automl Model. Format: |
modelDisplayName |
The Model's display name in automl.googleapis.com. |
AutomlDataset
Represents one Dataset in automl.googleapis.com.
JSON representation |
---|
{ "dataset": string, "datasetDisplayName": string } |
Fields | |
---|---|
dataset |
Full resource name of automl Dataset. Format: |
datasetDisplayName |
The Dataset's display name in automl.googleapis.com. |
DataLabelingDataset
Represents one Dataset in datalabeling.googleapis.com.
JSON representation |
---|
{
"dataset": string,
"datasetDisplayName": string,
"dataLabelingAnnotatedDatasets": [
{
object ( |
Fields | |
---|---|
dataset |
Full resource name of data labeling Dataset. Format: |
datasetDisplayName |
The Dataset's display name in datalabeling.googleapis.com. |
dataLabelingAnnotatedDatasets[] |
The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset. |
DataLabelingAnnotatedDataset
Represents one AnnotatedDataset in datalabeling.googleapis.com.
JSON representation |
---|
{ "annotatedDataset": string, "annotatedDatasetDisplayName": string } |
Fields | |
---|---|
annotatedDataset |
Full resource name of data labeling AnnotatedDataset. Format: |
annotatedDatasetDisplayName |
The AnnotatedDataset's display name in datalabeling.googleapis.com. |