gcloud asset analyze-move Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud asset analyze-move - analyzes resource move
- SYNOPSIS
gcloud asset analyze-move--project=PROJECT_ID(--destination-folder=FOLDER_ID|--destination-organization=ORGANIZATION_ID)[--blockers-only=BLOCKERS_ONLY][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Analyze resource migration from its current resource hierarchy.
- EXAMPLES
- To analyze the impacts of moving a project to a different organization, run:
gcloudassetanalyze-move--project=YOUR_PROJECT_ID--destination-organization=ORGANIZATION_IDTo analyze the impacts of moving a project to a different folder, run:
gcloudassetanalyze-move--project=YOUR_PROJECT_ID--destination-folder=FOLDER_IDTo analyze only the blockers of moving a project to a different folder, run:
gcloudassetanalyze-move--project=YOUR_PROJECT_ID--destination-folder=FOLDER_ID--blockers-only=true - REQUIRED FLAGS
--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.
- OPTIONAL FLAGS
--blockers-only=BLOCKERS_ONLY- Determines whether to perform analysis against blockers only. Leaving it emptymeans the full analysis will be performed including warnings and blockers forthe specified resource move.
- GCLOUD WIDE FLAGS
- 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 helpfor details.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.