Method: projects.locations.instances.reenable

啟用DatabaseInstance 。之前必須使用instances.disable停用資料庫。成功重新啟用的 DatabaseInstance 的狀態為ACTIVE

HTTP請求

POST https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}:reenable

URL 使用gRPC 轉碼語法。

路徑參數

參數
name

string

資料庫實例的完全限定資源名稱,格式為: projects/{project-number}/locations/{location-id}/instances/{database-id}

授權需要對指定資源name具有以下IAM權限:

  • firebasedatabase.instances.reenable

請求正文

請求內文必須為空。

響應體

如果成功,回應正文將包含DatabaseInstance的實例。

授權範圍

需要以下 OAuth 範圍之一:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/firebase

有關詳細信息,請參閱身份驗證概述