Skip to main content

releases_executable

Creates, updates, deletes, gets or lists a releases_executable resource.

Overview

Namereleases_executable
TypeResource
Idfirebase.rules.releases_executable

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
executablestring (byte)Executable view of the Ruleset referenced by the Release.
executableVersionstringThe Rules runtime version of the executable.
languagestringLanguage used to generate the executable bytes.
rulesetNamestringRuleset name associated with the Release executable.
syncTimestring (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).
updateTimestring (google-datetime)Timestamp for the most recent Release.update_time.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_executableselectprojectsId, releasesIdexecutableVersionGet 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.

NameDatatypeDescription
projectsIdstring
releasesIdstring
executableVersionstring

SELECT examples

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 }}';