releases_executable
Creates, updates, deletes, gets or lists a releases_executable
resource.
Overview
Name | releases_executable |
Type | Resource |
Id | firebase.rules.releases_executable |
Fields
The following fields are returned by SELECT
queries:
- get_executable
Successful response
Name | Datatype | Description |
---|---|---|
executable | string (byte) | Executable view of the Ruleset referenced by the Release . |
executableVersion | string | The Rules runtime version of the executable. |
language | string | Language used to generate the executable bytes. |
rulesetName | string | Ruleset name associated with the Release executable. |
syncTime | string (google-datetime) | Optional, indicates the freshness of the result. The response is guaranteed to be the latest within an interval up to the sync_time (inclusive). |
updateTime | string (google-datetime) | Timestamp for the most recent Release.update_time . |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_executable | select | projectsId , releasesId | executableVersion | Get the Release executable to use when enforcing rules. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
projectsId | string | |
releasesId | string | |
executableVersion | string |
SELECT
examples
- get_executable
Get the Release
executable to use when enforcing rules.
SELECT
executable,
executableVersion,
language,
rulesetName,
syncTime,
updateTime
FROM firebase.rules.releases_executable
WHERE projectsId = '{{ projectsId }}' -- required
AND releasesId = '{{ releasesId }}' -- required
AND executableVersion = '{{ executableVersion }}';