- NAME
-
- gcloud compute preview-features update - update a preview feature's activation status
- SYNOPSIS
-
-
gcloud compute preview-features updatePREVIEW_FEATURE--activation-status=ACTIVATION_STATUS(--custom-rollout-plan=CUSTOM_ROLLOUT_PLAN|--rollout-plan=ROLLOUT_PLAN) [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Update a preview feature's activation status.
- EXAMPLES
- To enable/unspecify a preview feature's activation status, run the following
command:
gcloud compute preview-features update - POSITIONAL ARGUMENTS
-
- Preview feature resource - Name of the preview feature you want to update. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the
projectattribute:- provide the argument
preview_featureon the command line with a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
-
PREVIEW_FEATURE - ID of the preview feature or fully qualified identifier for the preview feature.
To set the
preview_featureattribute:- provide the argument
preview_featureon the command line.
- provide the argument
- provide the argument
- Preview feature resource - Name of the preview feature you want to update. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
- REQUIRED FLAGS
-
-
--activation-status=ACTIVATION_STATUS - The activation status of the preview feature.
ACTIVATION_STATUSmust be one of:enabled,unspecified. - The rollout plan of the preview feature.
Exactly one of these must be specified:
-
--custom-rollout-plan=CUSTOM_ROLLOUT_PLAN - Use a custom rollout plan by name.
-
--rollout-plan=ROLLOUT_PLAN - Use a predefined rollout plan.
ROLLOUT_PLANmust be one of:fast-rollout,two-day-rollout.
-
-
- 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. - API REFERENCE
- This command uses the
compute/v1API. The full documentation for this API can be found at: https://cloud.google.com/compute/ - NOTES
- These variants are also available:
gcloud alpha compute preview-features updategcloud beta compute preview-features updategcloud preview compute preview-features update
gcloud compute preview-features update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

