Method: accounts.accessBindings.batchUpdate
تعديل معلومات عن عمليات ربط الوصول المتعدّدة بحساب أو موقع
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate
يستخدِم عنوان URL بنية تحويل ترميز 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
رسالة طلب لاستدعاء إجراء عن بُعد accessBindings.patch
الحقول |
accessBinding |
object (AccessBinding )
مطلوب. ربط الوصول الذي سيتم تعديله
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 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"]]