Method: properties.accessBindings.create
تنشئ ربط وصول على حساب أو موقع.
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
يستخدم عنوان URL بنية تحويل الترميز gRPC.
معلمات المسار
المَعلمات |
parent |
string
مطلوبة. الأشكال: - الحسابات/{account} - المواقع/{property}
|
نص الطلب
يحتوي نص الطلب على مثال AccessBinding
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثيل AccessBinding
تم إنشاؤه حديثًا.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/analytics.manage.users
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-05-06 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-05-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Creates an access binding for a Google Analytics account or property using an HTTP POST request."],["Requires specifying the parent account or property in the request path."],["The request body should contain an `AccessBinding` object, and a successful response will return the created `AccessBinding`."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This outlines creating an access binding for an account or property via a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`. The `parent` path parameter, specifying either an account or property, is required. The request body needs an `AccessBinding` instance, and upon success, the response body returns the newly created `AccessBinding`. This action requires the `https://www.googleapis.com/auth/analytics.manage.users` OAuth scope.\n"]]