Method: projects.releases.getExecutable
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP請求
GET https://firebaserules.googleapis.com/v1/{name=projects/*/releases/**}:getExecutable
URL 使用gRPC 轉碼語法。
路徑參數
參數 |
---|
name | string 必需的。 Release 的資源名稱。 格式: projects/{project_id}/releases/{release_id} |
查詢參數
參數 |
---|
executableVersion | enum ( ReleaseExecutableVersion ) 請求的運行時可執行版本。預設為 FIREBASE_RULES_EXECUTABLE_V1。 |
響應體
如果成功,回應正文包含具有以下結構的資料:
JSON 表示 |
---|
{
"executable": string,
"language": enum (Language ),
"rulesetName": string,
"updateTime": string,
"executableVersion": enum (ReleaseExecutableVersion ),
"syncTime": string
} |
領域 |
---|
executable | string ( bytes format) Release 引用的Ruleset 的可執行視圖。 Base64 編碼的字串。 |
language | enum ( Language ) 用於產生可執行位元組的Language 。 |
rulesetName | string 與Release 可執行檔關聯的Ruleset 名稱。 |
updateTime | string ( Timestamp format) 最近Release.update_time 的時間戳記。 RFC3339 UTC「Zulu」格式的時間戳,具有奈秒解析度和最多九個小數位。範例: "2014-10-02T15:01:23Z" 和"2014-10-02T15:01:23.045123456Z" 。 |
executableVersion | enum ( ReleaseExecutableVersion ) 可執行檔的規則運行時版本。 |
syncTime | string ( Timestamp format) 可選,表示結果的新鮮度。保證回應是直到syncTime(含)的時間間隔內的最新回應。 RFC3339 UTC「Zulu」格式的時間戳,具有奈秒解析度和最多九個小數位。範例: "2014-10-02T15:01:23Z" 和"2014-10-02T15:01:23.045123456Z" 。 |
授權範圍
需要以下 OAuth 範圍之一:
-
https://www.googleapis.com/auth/cloud-platform
-
https://www.googleapis.com/auth/firebase
-
https://www.googleapis.com/auth/firebase.readonly
有關詳細信息,請參閱身份驗證概述。
發布可執行版本
列舉 |
---|
RELEASE_EXECUTABLE_VERSION_UNSPECIFIED | 未指定可執行格式。預設為 FIREBASE_RULES_EXECUTABLE_V1 |
FIREBASE_RULES_EXECUTABLE_V1 | Firebase 規則語法「rules2」執行版本:與 Java 用戶端一起使用的自訂 AST。 |
FIREBASE_RULES_EXECUTABLE_V2 | 基於 CEL 的可執行文件,可與 C++ 用戶端一起使用。 |
語言
列舉 |
---|
LANGUAGE_UNSPECIFIED | 語言未指定。預設為 FIREBASE_RULES。 |
FIREBASE_RULES | Firebase 規則語言。 |
EVENT_FLOW_TRIGGERS | 事件流觸發器。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]