gcloud alpha compute snapshots get-effective-recycle-bin-rule

NAME
gcloud alpha compute snapshots get-effective-recycle-bin-rule - returns the effective recycle bin rule for a Compute Engine snapshot
SYNOPSIS
gcloud alpha compute snapshots get-effective-recycle-bin-rule SNAPSHOT_NAME [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) gcloud alpha compute snapshots get-effective-recycle-bin-rule displays the effective recycle bin rule for a Compute Engine snapshot in a project.

Given an existing snapshot is queried, successful output of this command looks like the following:

retentionDurationDays: '7'
EXAMPLES
To get the effective recycle bin rule for a snapshot, run:
gcloud alpha compute snapshots get-effective-recycle-bin-rule SNAPSHOT_NAME
POSITIONAL ARGUMENTS
SNAPSHOT_NAME
Name of the snapshot to get the effective recycle bin rule for.
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 snapshots get-effective-recycle-bin-rule