gcloud alpha compute snapshot-recycle-bin-policy update

INFORMATION
gcloud alpha compute snapshot-recycle-bin-policy update is not available in universe domain universe.
NAME
gcloud alpha compute snapshot-recycle-bin-policy update - update the project's or organization's snapshot recycle bin policy
SYNOPSIS
gcloud alpha compute snapshot-recycle-bin-policy update (--remove-rule=RULE_KEY     | [--standard-snapshots-retention-duration-days=STANDARD_SNAPSHOTS_RETENTION_DURATION_DAYS : --set-rule=RULE_KEY]) [--organization=ORGANIZATION     | --project=PROJECT] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Update the project's or organization's snapshot recycle bin policy.
EXAMPLES
To set retention days for the default rule to 10 days for a project:
gcloud alpha compute snapshot-recycle-bin-policy update --set-rule=default --standard-snapshots-retention-duration-days=10

To set retention days for the default rule to 6 days for organization 123456789:

gcloud alpha compute snapshot-recycle-bin-policy update --organization=123456789 --set-rule=default --standard-snapshots-retention-duration-days=6

To set retention days for a tag-based rule '12345/env/prod' to 5 days for a project:

gcloud alpha compute snapshot-recycle-bin-policy update --set-rule='12345/env/prod' --standard-snapshots-retention-duration-days=5

To remove rule '12345/env/prod' for a project:

gcloud alpha compute snapshot-recycle-bin-policy update --remove-rule='12345/env/prod'
REQUIRED FLAGS
Exactly one of these must be specified:
--remove-rule=RULE_KEY
Key of the rule to remove. Rule keys are 'default' or tag-based keys like '12345/env/prod'.
Or at least one of these can be specified:
--standard-snapshots-retention-duration-days=STANDARD_SNAPSHOTS_RETENTION_DURATION_DAYS
Retention duration in days for standard snapshots. Must be provided with --set-rule.

This flag argument must be specified if any of the other arguments in this group are specified.

--set-rule=RULE_KEY
Key of the rule to set. Rule keys are 'default' or tag-based keys like '12345/env/prod'.
OPTIONAL FLAGS
At most one of these can be specified:
--organization=ORGANIZATION
Organization ID to apply this policy to.
--project=PROJECT
Project ID to apply this policy to.
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.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
gcloud beta compute snapshot-recycle-bin-policy update