為與這個專案相關聯的服務帳戶產生新憑證
企業。呼叫服務帳戶必須經由呼叫
Enterprises.GetServiceAccount 必須設為企業帳戶
呼叫 Enterprises.SetAccount
只需在待開發資源中填入金鑰類型 已插入
  
    
      
  
    
      
        
 
   
    
  
  
  
  
只需在待開發資源中填入金鑰類型 已插入
要求
HTTP 要求
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys
參數
| 參數名稱 | 值 | 說明 | 
|---|---|---|
| 路徑參數 | ||
| enterpriseId | string | 企業的 ID。 | 
授權
此要求需要具有下列範圍的授權:
| 範圍 | 
|---|
| https://www.googleapis.com/auth/androidenterprise | 
詳情請參閱「驗證與授權」網頁。
要求主體
在要求主體中,提供 Serviceaccountkeys 資源並附上以下屬性:
| 屬性名稱 | 值 | 說明 | 附註 | 
|---|---|---|---|
| 必要屬性 | |||
| type | string | 產生的金鑰資料的檔案格式。 可接受的值為: 
 | |
回應
如果成功,這個方法會在回應主體中傳回 Serviceaccountkeys 資源。