Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Firestore Rule → List Rulesets

AI-generated

Summary

List Firestore security rulesets for a specified project and database, optionally limiting the number of results with a page size parameter.

Inputs

  • Project Name or ID (required) — Select the Google Cloud project by name or ID to list rulesets from.
  • Database Name or ID (required) — Specify the Firestore database within the project to query for rulesets.
  • Page Size — Set the maximum number of rulesets to return, between 1 and 100; defaults to 10.

Output shape

a list of ruleset records

Returns an array of Firestore ruleset objects associated with the specified project and database. The number of records is capped by the Page Size parameter, defaulting to 10 if unspecified.

Links

Discussion