資源:Branch
儲存 Document
的資料分支版本。
JSON 表示法 |
---|
{
"name": string,
"displayName": string,
"isDefault": boolean,
"lastDocumentImportTime": string,
"branchStats": {
object ( |
欄位 | |
---|---|
name |
不可變動。分店的完整資源名稱,例如 |
displayName |
僅供輸出。在 UI 中顯示的分支易讀名稱。 |
isDefault |
僅供輸出。指出這個分支是否設為上層資料儲存庫的預設分支。 |
lastDocumentImportTime |
僅供輸出。透過 使用 RFC 3339,產生的輸出內容一律會經過 Z 標準化,並使用 0、3、6 或 9 個小數點後位數。系統也接受「Z」以外的偏移量。例如: |
branchStats |
僅供輸出。描述分支的統計資料。[BranchView.BASIC][] 檢視畫面不會填入這個欄位。 |
BranchStats
描述分支的統計資料。
JSON 表示法 |
---|
{ "documentCounts": { string: string, ... } } |
欄位 | |
---|---|
documentCounts |
特定分支中的文件數量。 鍵是代表一組文件的群組,值則是該群組中的文件數量。注意:這個對映中的鍵可能會隨時間變更。支援的鍵:['all']。 |
方法 |
|
---|---|
|
取得 Document 的索引更新中繼資料。 |
|
擷取 Branch 。 |
|
列出指定父項 DataStore 底下的所有 Branch 。 |