- NAME
-
- gcloud alpha firebase security-rules get - get a Firebase security rules release or ruleset
- SYNOPSIS
-
-
gcloud alpha firebase security-rules getNAME[--release|--ruleset] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Get a Firebase security rules release or ruleset. - EXAMPLES
-
To get a security rules release named 'cloud.firestore/(default)':
gcloud alpha firebase security-rules get cloud.firestore/(default)To get a security ruleset by ID:
gcloud alpha firebase security-rules get RULESET_ID --ruleset - POSITIONAL ARGUMENTS
-
NAME- The name or ID of the release or ruleset to get (e.g. cloud.firestore/(default), firebase.storage/BUCKET_NAME, or RULESET_ID).
- FLAGS
-
-
At most one of these can be specified:
--release- Get a release with the given name.
--ruleset- Get a ruleset with the given ID/name.
-
At most one of these can be specified:
- 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. - 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.
gcloud alpha firebase security-rules get
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 2026-10-06 UTC.