gcloud_alpha_projects_move (1)
NAME
- gcloud alpha projects move - move a project into an organization
SYNOPSIS
-
gcloud alpha projects move PROJECT_ID [--folder=FOLDER_ID] [--organization=ORGANIZATION_ID] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Moves the given project into the given organization.
-
- *
- There is no project with the given ID.
- *
- There is no organization with the given ID, if an organization is given as the destination.
- *
- There is no folder with the given ID, if a folder is given as the destination.
- *
- More than one of organization or folder is provided.
- *
- The new destination is not in the same organization as the project, if the project is already in an organization.
- *
- The active account does not have the resourcemanager.projects.update permission for the given project.
- *
- The active account does not have the resourcemanager.projects.create permission for the given organization.
- *
- The given project is already in an organization.
POSITIONAL ARGUMENTS
-
- PROJECT_ID
-
ID for the project you want to move.
FLAGS
-
- --folder=FOLDER_ID
-
ID for the folder to use as a parent
- --organization=ORGANIZATION_ID
-
ID for the organization to use as a parent
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
The following command moves a project with the ID super-awesome-project into the organization 25872158:
-
$ gcloud alpha projects move super-awesome-project \
--organization=25872158
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support This variant is also available:
- $ gcloud beta projects move