Method: projects.androidApps.sha.list

列出指定AndroidApp的 SHA-1 和 SHA-256 憑證。

HTTP請求

GET https://firebase.googleapis.com/v1beta1/{parent=projects/*/androidApps/*}/sha

URL 使用gRPC 轉碼語法。

路徑參數

參數
parent

string

若要列出每個關聯的ShaCertificate的父AndroidApp的資源名稱,格式為:

projects/ PROJECT_IDENTIFIER /androidApps/ APP_ID


由於APP_ID是唯一標識符,因此此處可以使用來自子集合的唯一資源存取模式,格式為:

projects/-/androidApps/ APP_ID


有關PROJECT_IDENTIFIERAPP_ID值的詳細信息,請參閱AndroidApp name欄位。

請求正文

請求內文必須為空。

響應體

如果成功,回應正文包含具有以下結構的資料:

JSON 表示
{
  "certificates": [
    {
      object (ShaCertificate)
    }
  ]
}
領域
certificates[]

object ( ShaCertificate )

AndroidApp關聯的每個ShaCertificate的清單。

授權範圍

需要以下 OAuth 範圍之一:

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

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