Method: projects.rulesets.create Stay organized with collections Save and categorize content based on your preferences.
Create aRuleset fromSource.
TheRuleset is given a unique generated name which is returned to the caller.Source containing syntactic or semantics errors will result in an error response indicating the first error encountered.
HTTP request
POST https://firebaserules.googleapis.com/v1/{name=projects/*}/rulesets
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Resource name for Project which owns this Format: |
Request body
The request body contains an instance ofRuleset.
Response body
If successful, the response body contains a newly created instance ofRuleset.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/firebase
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.