- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization Scopes
 - Try it!
 
List Ruleset metadata only and optionally filter the results by Ruleset name.
The full Source contents of a Ruleset may be retrieved with rulesets.get.
HTTP request
GET https://firebaserules.googleapis.com/v1/{name=projects/*}/rulesets
The URL uses gRPC 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 for FirebaseRulesService.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 the Authentication Overview.