Method: accountTypes.accounts.userLists.patch

更新 UserList。

Authorization 標頭:

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

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

HTTP 要求

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

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

路徑參數

參數
userList.name

string

ID。使用者名單的資源名稱。格式:accountTypes/{accountType}/accounts/{account}/userLists/{userList}

查詢參數

參數
updateMask

string (FieldMask format)

(選用步驟) 要更新的欄位清單。

這是以半形逗號分隔的完整欄位名稱清單,範例:"user.displayName,photo"

validateOnly

boolean

(選用步驟) 如果為 true,系統會驗證要求,但不會執行要求。

要求主體

要求主體包含 UserList 的例項。

回應主體

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

授權範圍

需要下列 OAuth 範圍:

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