- gcloud alpha resource-manager folders update - update the display name of a folder
gcloud alpha resource-manager folders update FOLDER_ID --display-name=DISPLAY_NAME [GCLOUD_WIDE_FLAG ...]
(ALPHA) Updates the given folder with new folder name.
- There is no folder with the given ID.
- The active account does not have permission to update the given folder.
- The new display name is taken by another folder under this folder's parent.
ID for the folder you want to update.
New display name for the folder (unique under the same 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.
The following command updates a folder with the ID 123456789 to have the name "Foo Bar and Grill":
$ gcloud alpha resource-manager folders update 123456789 \
--display_name="Foo Bar and Grill"
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