Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
REST Resource: accounts.accessBindings
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: AccessBinding
भूमिकाओं के एक सेट के लिए उपयोगकर्ता को बाध्य करना.
JSON के काेड में दिखाना |
{
"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
सिर्फ़ आउटपुट के लिए. इस बाइंडिंग के संसाधन का नाम. फ़ॉर्मैट: accounts/{account}/accessBindings/{accessBinding} या प्रॉपर्टी/{property}/accessBindings/{accessBinding} उदाहरण: "accounts/100/accessBindings/200"
|
roles[] |
string
पैरंट संसाधन को दी जाने वाली भूमिकाओं की सूची. मान्य वैल्यू: prefixRoles/व्यूअर ValueTrackRoles/ऐनलिस्ट प्रीसेट रोल्स/एडिटोरियल ऑब्ज़र्वेशन/एडमिन प्रीडिविज़न रोल्स/नो-कॉस्ट-डेटा प्रीडिनेट रोल्स/नो-रिवेन्यू-डेटा उपयोगकर्ताओं के लिए, अगर भूमिकाओं की खाली सूची सेट है, तो यह AccessBinding मिटा दिया जाएगा.
|
यूनियन फ़ील्ड access_target . वह टारगेट जिसके लिए भूमिकाएं सेट करनी हैं. access_target इनमें से सिर्फ़ एक हो सकता है: |
user |
string
अगर सेट हो, तो उस उपयोगकर्ता का ईमेल पता जिसके लिए भूमिकाएं सेट करनी हैं. फ़ॉर्मैट: "someuser@gmail.com"
|
तरीके |
|
किसी खाते या प्रॉपर्टी की एक से ज़्यादा ऐक्सेस बाइंडिंग के बारे में जानकारी बनाता है. |
|
एक से ज़्यादा उपयोगकर्ताओं की जानकारी मिटाता है किसी खाते या प्रॉपर्टी से लिंक करता है. |
|
किसी खाते या प्रॉपर्टी की एक से ज़्यादा ऐक्सेस बाइंडिंग के बारे में जानकारी देता है. |
|
किसी खाते या प्रॉपर्टी की एक से ज़्यादा ऐक्सेस बाइंडिंग के बारे में जानकारी अपडेट करता है. |
|
किसी खाते या प्रॉपर्टी के लिए, ऐक्सेस बाइंडिंग बनाता है. |
|
किसी खाते या प्रॉपर्टी के लिए, ऐक्सेस बाइंडिंग को मिटाता है. |
|
किसी ऐक्सेस बाइंडिंग के बारे में जानकारी मिलती है. |
|
यह किसी खाते या प्रॉपर्टी की सभी ऐक्सेस बाइंडिंग की सूची बनाता है. |
|
किसी खाते या प्रॉपर्टी के लिए, ऐक्सेस बाइंडिंग को अपडेट करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAccessBinding is a resource that links a user to specific roles within Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eIt defines user access by assigning roles like viewer, analyst, editor, or admin.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AccessBindings through various methods including creating, deleting, updating, and listing them.\u003c/p\u003e\n"],["\u003cp\u003eThese methods allow for batch operations, enabling efficient management of user access across accounts and properties.\u003c/p\u003e\n"]]],["AccessBinding links users to roles, defined by a `name`, a list of `roles`, and a `user` email. Roles include viewer, analyst, editor, admin, no-cost-data, and no-revenue-data. The `name` is a resource identifier. Multiple AccessBindings can be managed via batch operations for creating, deleting, getting, and updating. Singular access binding management includes create, delete, get, list, and patch options. Deleting an access binding can also be done by setting an empty roles list.\n"],null,["# REST Resource: accounts.accessBindings\n\n- [Resource: AccessBinding](#AccessBinding)\n - [JSON representation](#AccessBinding.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccessBinding\n-----------------------\n\nA binding of a user to a set of roles.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"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`. } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{accessBinding} or properties/{property}/accessBindings/{accessBinding} Example: \"accounts/100/accessBindings/200\" |\n| `roles[]` | `string` A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted. |\n| Union field `access_target`. The target for which to set roles for. `access_target` can be only one of the following: ||\n| `user` | `string` If set, the email address of the user to set roles for. Format: \"someuser@gmail.com\" |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [batchCreate](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchCreate) | Creates information about multiple access bindings to an account or property. |\n| ### [batchDelete](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchDelete) | Deletes information about multiple users' links to an account or property. |\n| ### [batchGet](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchGet) | Gets information about multiple access bindings to an account or property. |\n| ### [batchUpdate](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchUpdate) | Updates information about multiple access bindings to an account or property. |\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/create) | Creates an access binding on an account or property. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/delete) | Deletes an access binding on an account or property. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/get) | Gets information about an access binding. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/list) | Lists all access bindings on an account or property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/patch) | Updates an access binding on an account or property. |"]]