Method: accountTypes.accounts.userLists.get

取得 UserList。

Authorization 標頭:

這個方法支援下列選用標頭,可定義 API 如何授權要求存取權:

  • login-account:(選用) 帳戶的資源名稱,憑證的 Google 帳戶是該帳戶的使用者。如未設定,預設為要求帳戶。格式:accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account:(選用) 帳戶的資源名稱,該帳戶已與 login-account 建立產品連結。格式:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}

HTTP 要求

GET https://datamanager.googleapis.com/v1/{name=accountTypes/*/accounts/*/userLists/*}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
name

string

必填。要擷取的使用者名單資源名稱。格式:accountTypes/{accountType}/accounts/{account}/userLists/{userList}

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 UserList 的執行個體。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/datamanager