REST Resource: projects.locations.dataStores.branches

資源:Branch

儲存 Document 的資料分支版本。

JSON 表示法
{
  "name": string,
  "displayName": string,
  "isDefault": boolean,
  "lastDocumentImportTime": string,
  "branchStats": {
    object (BranchStats)
  }
}
欄位
name

string

不可變動。分店的完整資源名稱,例如 projects/*/locations/global/dataStores/dataStore/branches/branchId

displayName

string

僅供輸出。在 UI 中顯示的分支易讀名稱。

isDefault

boolean

僅供輸出。指出這個分支是否設為上層資料儲存庫的預設分支。

lastDocumentImportTime

string (Timestamp format)

僅供輸出。透過 DocumentService.ImportDocuments 匯入的最後時間戳記。如果值為空白,表示這個分支機構沒有匯入任何資料。

使用 RFC 3339,產生的輸出內容一律會經過 Z 標準化,並使用 0、3、6 或 9 個小數點後位數。系統也接受「Z」以外的偏移量。例如:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

branchStats

object (BranchStats)

僅供輸出。描述分支的統計資料。[BranchView.BASIC][] 檢視畫面不會填入這個欄位。

方法

batchGetDocumentsMetadata

取得 Document 的索引更新中繼資料。

get

擷取 Branch

list

列出指定父項 DataStore 底下的所有 Branch