gcloud alpha compute preview-features update

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 theproject attribute:

  • provide the argumentpreview_feature on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

PREVIEW_FEATURE
ID of the preview feature or fully qualified identifier for the preview feature.

To set thepreview_feature attribute:

  • provide the argumentpreview_feature on the command line.
REQUIRED FLAGS
--activation-status=ACTIVATION_STATUS
The activation status of the preview feature.ACTIVATION_STATUS must 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_PLAN must 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 help for details.

API REFERENCE
This command uses thecompute/alpha API. 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-featuresupdate
gcloudbetacomputepreview-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.