- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- ReleaseExecutableVersion
- Language
- Try it!
Get the Release
executable to use when enforcing rules.
HTTP request
GET https://firebaserules.googleapis.com/v1/{name=projects/*/releases/**}:getExecutable
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Resource name of the Format: |
Query parameters
Parameters | |
---|---|
executableVersion |
The requested runtime executable version. Defaults to FIREBASE_RULES_EXECUTABLE_V1. |
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.GetReleaseExecutable
JSON representation | |
---|---|
{ "executable": string, "language": enum ( |
Fields | |
---|---|
executable |
Executable view of the A base64-encoded string. |
language |
|
rulesetName |
|
updateTime |
Timestamp for the most recent A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
executableVersion |
The Rules runtime version of the executable. |
syncTime |
Optional, indicates the freshness of the result. The response is guaranteed to be the latest within an interval up to the syncTime (inclusive). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
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.
ReleaseExecutableVersion
The executable versions supported for each language and syntax revision.
Enums | |
---|---|
RELEASE_EXECUTABLE_VERSION_UNSPECIFIED |
Executable format unspecified. Defaults to FIREBASE_RULES_EXECUTABLE_V1 |
FIREBASE_RULES_EXECUTABLE_V1 |
Firebase Rules syntax 'rules2' executable versions: Custom AST for use with Java clients. |
FIREBASE_RULES_EXECUTABLE_V2 |
CEL-based executable for use with C++ clients. |
Language
Language
set supported within Source
.
Enums | |
---|---|
LANGUAGE_UNSPECIFIED |
Language unspecified. Defaults to FIREBASE_RULES. |
FIREBASE_RULES |
Firebase Rules language. |
EVENT_FLOW_TRIGGERS |
Event Flow triggers. |