अनुमतियां: पैच
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Looker Studio की ऐसेट के लिए अनुमतियां अपडेट करें.
अनुरोध
एचटीटीपी अनुरोध
PATCH https://datastudio.googleapis.com/v1/assets/{assetName}/permissions
पाथ पैरामीटर
पैरामीटर का नाम |
टाइप |
ब्यौरा |
assetName |
स्ट्रिंग |
ऐसेट का नाम (आईडी). |
अनुमति देना
इस अनुरोध के लिए, अधिकृत उपयोगकर्ता के पास इसकी ज़रूरी अनुमतियां होनी चाहिए
नीचे दिए गए दायरे की मदद से, ऐसेट से जुड़ी अनुमतियों और अनुमति को मैनेज करें:
दायरा |
https://www.googleapis.com/auth/datastudio |
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, ये प्रॉपर्टी उपलब्ध कराएं:
प्रॉपर्टी का नाम |
टाइप |
ब्यौरा |
अनुमतियां
|
अनुमतियां
|
अपडेट किया गया अनुमति ऑब्जेक्ट. The
OWNER भूमिका को अपडेट नहीं किया जा सकता. |
जवाब
अगर यह तरीका काम करता है, तो यह अपडेट किया गया अनुमतियां ऑब्जेक्ट दिखाता है.
उदाहरण
Looker Studio की ऐसेट की अनुमतियां अपडेट होने के बारे में यहां बताया गया है.
PATCH https://datastudio.googleapis.com/v1/assets/assetName/permissions
अनुरोध का मुख्य हिस्सा:
{
"permissions": {
"permissions": {
"OWNER": {
"members": [
"user:jen@gmail.com"
]
},
"VIEWER": {
"members": [
"user:gus@gmail.com"
]
}
}
}
}
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis document outlines how to update permissions for a Looker Studio asset using the \u003ccode\u003ePATCH\u003c/code\u003e method and provides details about the required request parameters and authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should include the updated permissions object, specifying roles (like OWNER, VIEWER) and their corresponding members, but note that the OWNER role cannot be modified.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return the updated Permissions object, confirming the changes made to the asset's access control.\u003c/p\u003e\n"]]],[],null,["# Permissions: patch\n\nUpdate permissions for a Looker Studio asset.\n\nRequest\n-------\n\n### HTTP request\n\n PATCH https://datastudio.googleapis.com/v1/assets/{assetName}/permissions\n\n### Path parameters\n\n| Parameter name | Type | Description |\n|----------------|--------|-----------------------------|\n| assetName | string | The name (ID) of the asset. |\n\n### Authorization\n\nThis request requires the authorized user to have sufficient permissions to\nmanage asset permissions and authorization with the following scope:\n\n| Scope |\n|----------------------------------------------|\n| `https://www.googleapis.com/auth/datastudio` |\n\n### Request body\n\nIn the request body, supply the following properties:\n\n| Property name | Type | Description |\n|---------------|-------------------------------------------------------------------------|---------------------------------------------------------------------|\n| permissions | [Permissions](/looker-studio/integrate/api/reference/types#Permissions) | The updated permissions object. The `OWNER` role cannot be updated. |\n\nResponse\n--------\n\nIf successful, this method returns the updated [Permissions](/looker-studio/integrate/api/reference/types#Permissions) object.\n\nExample\n-------\n\nThe following updates the permissions for a Looker Studio asset. \n\n PATCH https://datastudio.googleapis.com/v1/assets/\u003cvar translate=\"no\"\u003eassetName\u003c/var\u003e/permissions\n\nRequest body: \n\n {\n \"permissions\": {\n \"permissions\": {\n \"OWNER\": {\n \"members\": [\n \"user:jen@gmail.com\"\n ]\n },\n \"VIEWER\": {\n \"members\": [\n \"user:gus@gmail.com\"\n ]\n }\n }\n }\n }"]]