Method: accounts.accessBindings.batchUpdate
עדכון מידע על קישורי גישה מרובים לחשבון או לנכס.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. החשבון או הנכס שבבעלותם קישורי הגישה. הורה של כל AccessBinding שסופק בהודעות UpdateAccessBindingRequest חייב להתאים לשדה הזה. פורמטים: - accounts/{account} - properties/{property}
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
שדות |
requests[] |
object (UpdateAccessBindingRequest )
חובה. הבקשות שמציינות את קישורי הגישה שרוצים לעדכן. אפשר לעדכן עד 1,000 קישורי גישה בבת אחת.
|
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של BatchUpdateAccessBindingsResponse
.
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.manage.users
UpdateAccessBindingRequest
הודעת בקשה ל-RPC של accessBindings.patch.
שדות |
accessBinding |
object (AccessBinding )
חובה. קישור הגישה שרוצים לעדכן.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["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"]]