integrations.sh
← all integrations

googleapis.com – firebaserules

OpenAPI apis-guru analyticsmedia

Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.

Homepage
https://api.apis.guru/v2/specs/googleapis.com:firebaserules/v1.json
Provider
googleapis.com:firebaserules / firebaserules
OpenAPI version
3.0.0
Spec (JSON)
https://api.apis.guru/v2/specs/googleapis.com/firebaserules/v1/openapi.json
Spec (YAML)
https://api.apis.guru/v2/specs/googleapis.com/firebaserules/v1/openapi.yaml

Tools (11)

Extracted live via the executor SDK.

  • projects.firebaserulesProjectsReleasesCreate

    Create a Release. Release names should reflect the developer's deployment practices. For example, the release name may include the environment name, application name, application version, or any other name meaningful to the developer. Once a Release refers to a Ruleset, the rules can be enforced by Firebase Rules-enabled services. More than one Release may be 'live' concurrently. Consider the following three Release names for projects/foo and the Ruleset to which they refer. Release Name -> Ruleset Name * projects/foo/releases/prod -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/beta -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/v23 -> projects/foo/rulesets/uuid456 The relationships reflect a Ruleset rollout in progress. The prod and prod/beta releases refer to the same Ruleset. However, prod/v23 refers to a new Ruleset. The Ruleset reference for a Release may be updated using the UpdateRelease method.

  • projects.firebaserulesProjectsReleasesGetExecutable

    Get the Release executable to use when enforcing rules.

  • projects.firebaserulesProjectsReleasesList

    List the Release values for a project. This list may optionally be filtered by Release name, Ruleset name, TestSuite name, or any combination thereof.

  • projects.firebaserulesProjectsReleasesPatch

    Update a Release via PATCH. Only updates to ruleset_name will be honored. Release rename is not supported. To create a Release use the CreateRelease method.

  • projects.firebaserulesProjectsRulesetsCreate

    Create a Ruleset from Source. The Ruleset 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. For a detailed view of Source issues, use TestRuleset.

  • projects.firebaserulesProjectsRulesetsDelete

    Delete a Ruleset by resource name. If the Ruleset is referenced by a Release the operation will fail.

  • projects.firebaserulesProjectsRulesetsGet

    Get a Ruleset by name including the full Source contents.

  • projects.firebaserulesProjectsRulesetsList

    List Ruleset metadata only and optionally filter the results by Ruleset name. The full Source contents of a Ruleset may be retrieved with GetRuleset.

  • projects.firebaserulesProjectsTest

    Test Source for syntactic and semantic correctness. Issues present, if any, will be returned to the caller with a description, severity, and source location. The test method may be executed with Source or a Ruleset name. Passing Source is useful for unit testing new rules. Passing a Ruleset name is useful for regression testing an existing rule. The following is an example of Source that permits users to upload images to a bucket bearing their user id and matching the correct metadata: Example // Users are allowed to subscribe and unsubscribe to the blog. service firebase.storage { match /users/{userId}/images/{imageName} { allow write: if userId == request.auth.uid && (imageName.matches('.png$') || imageName.matches('.jpg$')) && resource.mimeType.matches('^image/') } }*

  • openapi.previewSpec

    Preview an OpenAPI document before adding it as a source

  • openapi.addSource

    Add an OpenAPI source and register its operations as tools