Method: projects.iosApps.getConfig

取得與指定的IosApp關聯的配置工件。

HTTP請求

GET https://firebase.googleapis.com/v1beta1/{name=projects/*/iosApps/*/config}

URL 使用gRPC 轉碼語法。

路徑參數

參數
name

string

若要下載的App配置的資源名稱,格式為:

projects/ PROJECT_IDENTIFIER /iosApps/ APP_ID /config


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

projects/-/iosApps/ APP_ID


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

請求正文

請求內文必須為空。

響應體

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

適用於 iOS 的單一 Firebase 應用程式的設定元資料。

JSON 表示
{
  "configFilename": string,
  "configFileContents": string
}
領域
configFilename

string

IosApp的設定工件通常儲存為的檔案名稱。
例如: GoogleService-Info.plist

configFileContents

string ( bytes format)

XML 設定檔的內容。

Base64 編碼的字串。

授權範圍

需要以下 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

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