<ph type="x-smartling-placeholder">
为与此关联的服务账号生成新凭据
企业。调用方服务账号必须通过调用
Enterprises.GetServiceAccount,并且必须设置为“enterprises”
服务账号。
资源中只应填充键的类型 已插入。
  
    
      
  
    
      
        
 
   
    
  
  
  
  
资源中只应填充键的类型 已插入。
请求
HTTP 请求
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys
参数
| 参数名称 | 值 | 说明 | 
|---|---|---|
| 路径参数 | ||
| enterpriseId | string | 企业的 ID。 | 
授权
此请求需要获得以下范围的授权:
| 范围 | 
|---|
| https://www.googleapis.com/auth/androidenterprise | 
如需了解详情,请参阅身份验证和授权页面。
请求正文
在请求正文中,提供具有以下属性的 Serviceaccountkeys 资源:
| 属性名称 | 值 | 说明 | 备注 | 
|---|---|---|---|
| 必需属性 | |||
| type | string | 生成的密钥数据的文件格式。 可接受的值包括: 
 | |
响应
如果成功,此方法将在响应正文中返回一项 Serviceaccountkeys 资源。