Method: projects.rulesets.get

Get a Ruleset by name including the full Source contents.

HTTP request

GET https://firebaserules.googleapis.com/v1/{name=projects/*/rulesets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name for the ruleset to get.

Format: projects/{project_id}/rulesets/{ruleset_id}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Ruleset.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/firebase.readonly

For more information, see the Authentication Overview.