جرِّب خادم MCP لخدمة "إحصاءات Google". يمكنك تثبيت التطبيق من
GitHub والاطّلاع على
الإعلان لمعرفة المزيد من التفاصيل.
Method: accounts.accessBindings.batchGet
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الحصول على معلومات عن عمليات ربط الوصول المتعدّدة بحساب أو موقع
طلب HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet
يستخدم عنوان URL بنية تحويل الترميز gRPC.
معلمات المسار
المَعلمات |
parent |
string
مطلوبة. الحساب أو الموقع الذي يملك روابط الوصول. يجب أن يتطابق أصل كل القيم المقدَّمة في حقل "الأسماء" مع هذا الحقل. الأشكال: - الحسابات/{account} - المواقع/{property}
|
معلمات طلب البحث
المَعلمات |
names[] |
string
مطلوبة. أسماء روابط الوصول المطلوب استردادها. يمكن استرداد 1,000 عملية ربط وصول كحدّ أقصى في دُفعة واحدة. التنسيقات: - accounts/{account}/accessboundings/{access بحسابك } - المواقع/{property}/accessboundings/{accessbounding}
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال BatchGetAccessBindingsResponse
.
نطاقات التفويض
يتطلب استخدام أحد نطاقات OAuth التالية:
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eRetrieves information about multiple access bindings associated with a Google Analytics account or property.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the parent account or property and a list of access binding names in the request.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request to the \u003ccode\u003ehttps://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes details about the requested access bindings in a \u003ccode\u003eBatchGetAccessBindingsResponse\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eRequires appropriate authorization scopes for user access management in Google Analytics.\u003c/p\u003e\n"]]],["This outlines how to retrieve multiple access bindings for an account or property using a `GET` request. The URL requires the `parent` path parameter specifying the account or property. The `names[]` query parameter is also required and allows fetching up to 1000 access bindings. The request body must be empty. A successful response contains `BatchGetAccessBindingsResponse`. Authorization requires `analytics.manage.users.readonly` or `analytics.manage.users` scopes. The request uses gRPC Transcoding syntax.\n"],null,["# Method: accounts.accessBindings.batchGet\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets information about multiple access bindings to an account or property.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property} |\n\n### Query parameters\n\n| Parameters ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `names[]` | `string` Required. The names of the access bindings to retrieve. A maximum of 1000 access bindings can be retrieved in a batch. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [BatchGetAccessBindingsResponse](/analytics/devguides/config/admin/v1/rest/v1alpha/BatchGetAccessBindingsResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.manage.users.readonly`\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]