Method: projects.rulesets.list Stay organized with collections Save and categorize content based on your preferences.
ListRuleset metadata only and optionally filter the results byRuleset name.
The fullSource contents of aRuleset may be retrieved withrulesets.get.
HTTP request
GET https://firebaserules.googleapis.com/v1/{name=projects/*}/rulesets
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Resource name for the project. Format: |
Query parameters
| Parameters | |
|---|---|
filter |
Filters on Example: |
pageSize |
Page size to load. Maximum of 100. Defaults to 10. Note: |
pageToken |
Next page token for loading the next batch of |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
The response forFirebaseRulesService.ListRulesets.
| JSON representation | |
|---|---|
{"rulesets":[{object ( | |
| Fields | |
|---|---|
rulesets[] |
List of |
nextPageToken |
The pagination token to retrieve the next page of results. If the value is empty, no further results remain. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/firebasehttps://www.googleapis.com/auth/firebase.readonly
For more information, see theAuthentication Overview.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-30 UTC.