gcloud asset analyze-move - analyzes resource move
gcloud asset analyze-move --project=PROJECT_ID (--destination-folder=FOLDER_ID | --destination-organization=ORGANIZATION_ID) [--blockers-only=BLOCKERS_ONLY] [GCLOUD_WIDE_FLAG ...]
Analyze resource migration from its current resource hierarchy.
To analyze the impacts of moving a project to a different organization, run:
$ gcloud asset analyze-move --project=YOUR_PROJECT_ID \ --destination-organization=ORGANIZATION_ID
To analyze the impacts of moving a project to a different folder, run:
$ gcloud asset analyze-move --project=YOUR_PROJECT_ID \ --destination-folder=FOLDER_ID
To analyze only the blockers of moving a project to a different folder, run:
$ gcloud asset analyze-move --project=YOUR_PROJECT_ID \ --destination-folder=FOLDER_ID --blockers-only=true
- --project=PROJECT_ID
 The project ID or number to perform the analysis.
- Exactly one of these must be specified:
 
- --destination-folder=FOLDER_ID
 The destination folder ID to perform the analysis.
- --destination-organization=ORGANIZATION_ID
 The destination organization ID to perform the analysis.
- --blockers-only=BLOCKERS_ONLY
 Determines whether to perform analysis against blockers only. Leaving it empty means the full analysis will be performed including warnings and blockers for the specified resource move.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.