- NAME
-
- gcloud beta compute preview-features update - update a preview feature's activation status
- SYNOPSIS
-
-
gcloud beta compute preview-features update
PREVIEW_FEATURE
--activation-status
=ACTIVATION_STATUS
(--custom-rollout-plan
=CUSTOM_ROLLOUT_PLAN
|--rollout-plan
=ROLLOUT_PLAN
) [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
Update a preview feature's activation status. - EXAMPLES
-
To enable/disable a preview feature's activation status, run the following
command:
gcloud beta 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
project
attribute:-
provide the argument
preview_feature
on the command line with a fully specified name; -
provide the argument
--project
on 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_feature
attribute:-
provide the argument
preview_feature
on 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_STATUS
must be one of:disabled
,enabled
. -
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 one of:rollout-plan-fast-rollout
,rollout-plan-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 the
compute/beta
API. The full documentation for this API can be found at: https://cloud.google.com/compute/ - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha compute preview-features update
gcloud beta 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 2025-05-20 UTC.