{"name": string,"roles": [string],// Union field access_target can be only one of the following:"user": string// End of list of possible types for union field access_target.}
فیلدها
name
string
فقط خروجی نام منبع این اتصال.
قالب: حسابها/{account}/accessBindings/{accessBinding} یا خواص/{property}/accessBindings/{accessBinding}
مثال: "accounts/100/accessBindings/200"
roles[]
string
فهرستی از نقشهایی که باید به منبع اصلی اعطا شود.
مقادیر معتبر: نقشهای از پیش تعریف شده/نقشهای از پیش تعریف شده بیننده/نقشهای از پیش تعریف شده تحلیلگر/نقشهای از پیش تعریف شده ویرایشگر/نقشهای از پیش تعریف شده توسط مدیر/رولهای از پیش تعیین شده بدون دادههای هزینهای/دادههای بدون درآمد
برای کاربران، اگر یک لیست خالی از نقش ها تنظیم شود، این AccessBinding حذف خواهد شد.
فیلد اتحادیه access_target . هدفی که برای آن نقش تعیین شود. access_target می تواند تنها یکی از موارد زیر باشد:
user
string
در صورت تنظیم، آدرس ایمیل کاربر برای تعیین نقشها. قالب: "someuser@gmail.com"
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eAccessBinding is a resource that binds a user to a set of roles within Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AccessBindings through various methods like creating, deleting, updating, and listing them for accounts or properties.\u003c/p\u003e\n"],["\u003cp\u003eAccessBindings use a JSON representation to define the user, their roles, and the target resource (account or property).\u003c/p\u003e\n"],["\u003cp\u003eRoles granted via AccessBindings can include predefined options such as viewer, analyst, editor, admin, and more.\u003c/p\u003e\n"],["\u003cp\u003eAvailable methods for interacting with AccessBindings include batch operations (create, delete, get, update) and individual operations (create, delete, get, list, patch).\u003c/p\u003e\n"]]],["AccessBindings link users to roles within accounts or properties. Key fields include `name` (resource identifier), `roles[]` (list of granted roles like viewer, editor, admin), and `user` (target user's email). Available roles include predefined options. The union field `access_target` specifies the target for role assignments, currently only supporting the `user` field. Several methods are provided for managing access bindings, including creating, deleting, getting, listing, updating single or multiple user's bindings.\n"],null,[]]