Method: accounts.accessBindings.batchUpdate
HTTP 要求
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。擁有存取綁定項目的帳戶或資源。UpdateAccessBindingRequest 訊息中所有提供的 AccessBinding 父項都必須與此欄位相符。格式:- accounts/{account} - properties/{property}
|
要求主體
要求主體的資料會採用以下結構:
欄位 |
requests[] |
object (UpdateAccessBindingRequest )
必要欄位。指定要更新的存取繫結要求。一次最多可更新 1000 個存取繫結。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/analytics.manage.users
UpdateAccessBindingRequest
適用於 accessBindings.patch RPC 的要求訊息。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-14 (世界標準時間)。
[null,null,["上次更新時間:2025-01-14 (世界標準時間)。"],[[["This documentation outlines how to update information about multiple access bindings to a Google Analytics account or property using the batchUpdate method."],["The method utilizes an HTTP POST request to a specific endpoint with path parameters indicating the account or property."],["The request body should contain an array of `UpdateAccessBindingRequest` objects, each specifying an access binding to update."],["Successful execution results in a `BatchUpdateAccessBindingsResponse` object, and the process requires the `analytics.manage.users` OAuth scope for authorization."]]],["This document outlines the process for updating multiple access bindings for Google Analytics accounts or properties via a batch operation. It uses a `POST` request to the specified URL, with the `parent` path parameter indicating the target account or property. The request body includes an array of `UpdateAccessBindingRequest` objects, each containing an `accessBinding` object to be updated. The maximum number of bindings to be updated is 1000. Successful requests return a `BatchUpdateAccessBindingsResponse`. Authorization requires the `analytics.manage.users` scope.\n"]]