gcloud alpha compute preview-features update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha compute preview-features update - update a preview feature's activation status
- SYNOPSIS
gcloud alpha compute preview-features updatePREVIEW_FEATURE--activation-status=ACTIVATION_STATUS(--custom-rollout-plan=CUSTOM_ROLLOUT_PLAN|--rollout-plan=ROLLOUT_PLAN)[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Update a preview feature's activation status.- EXAMPLES
- To enable/unspecify a preview feature's activation status, run the followingcommand:
gcloudalphacomputepreview-featuresupdate - POSITIONAL ARGUMENTS
- Preview feature resource - Name of the preview feature you want to update. Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.
To set the
projectattribute:- provide the argument
preview_featureon the command line with afully 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. Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis 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 oneof: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/alphaAPI. The full documentation forthis API can be found at:https://cloud.google.com/compute/ - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudcomputepreview-featuresupdategcloudbetacomputepreview-featuresupdate
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-10-14 UTC.