Method: properties.accessBindings.batchUpdate
تُعدِّل معلومات عمليات ربط الوصول المتعدّدة إلى حساب أو موقع.
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchUpdate
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
parent |
string
مطلوب. الحساب أو الموقع الذي يملك عمليات ربط أذونات الوصول يجب أن يتطابق الحقل الرئيسي لجميع رسائل AccessBinding المتوفرة في UpdateAccessBindingRequest مع هذا الحقل. التنسيقات: - الحسابات/{account} - المواقع/{الموقع}
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
الحقول |
requests[] |
object (UpdateAccessBindingRequest )
مطلوب. الطلبات التي تحدّد روابط الوصول المطلوب تعديلها. يمكن تعديل 1,000 عملية ربط وصول كحد أقصى في دُفعة واحدة.
|
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال BatchUpdateAccessBindingsResponse
.
نطاقات الأذونات
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/analytics.manage.users
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Updates information about multiple access bindings to an account or property."],["Sends a POST request to the specified URL with path parameters for the parent account or property."],["Requires a request body containing an array of UpdateAccessBindingRequest objects."],["Upon success, returns a BatchUpdateAccessBindingsResponse object."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This document details the process of updating multiple access bindings for an account or property via a `POST` request to a specified URL. The URL requires the `parent` parameter, indicating the account or property. The request body, formatted in JSON, contains an array of `requests`, each defining an access binding to update, with a maximum of 1000 allowed. Successful updates return a `BatchUpdateAccessBindingsResponse`. This process requires the `https://www.googleapis.com/auth/analytics.manage.users` authorization scope.\n"]]