संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, कॉलर के पास दिए गए संसाधन पर मौजूद अनुमतियां दिखाता है. अगर संसाधन मौजूद नहीं है, तो यह अनुमतियों का खाली सेट दिखाएगा, न कि NOT_FOUND गड़बड़ी.
ध्यान दें: इस ऑपरेशन को अनुमति वाले यूज़र इंटरफ़ेस (यूआई) और कमांड-लाइन टूल बनाने के लिए डिज़ाइन किया गया है, न कि अनुमति की जांच करने के लिए. इस कार्रवाई के दौरान, चेतावनी के बिना "फ़ेल ओपन" हो सकता है.
एचटीटीपी अनुरोध
POST https://earthengine.googleapis.com/v1beta/{resource=projects/*/assets/**}:testIamPermissions
ज़रूरी है: वह संसाधन जिसके लिए नीति की जानकारी का अनुरोध किया जा रहा है. इस फ़ील्ड के लिए सही वैल्यू जानने के लिए, संसाधन के नाम देखें.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में नीचे दिए गए स्ट्रक्चर वाला डेटा होता है:
JSON के काेड में दिखाना
{"permissions": [string]}
फ़ील्ड
permissions[]
string
resource के लिए, जांच की जाने वाली अनुमतियों का सेट. वाइल्डकार्ड (जैसे, * या storage.*) वाली अनुमतियों की अनुमति नहीं है. ज़्यादा जानकारी के लिए, आईएएम की खास जानकारी लेख पढ़ें.
[[["समझने में आसान है","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-03-06 (UTC) को अपडेट किया गया."],[[["Returns the permissions a caller has on a specified Earth Engine resource."],["If the resource doesn't exist, it returns an empty set of permissions instead of an error."],["Primarily used for building permission-aware UIs and tools, not for authorization checks."],["Requires specific OAuth scopes like `https://www.googleapis.com/auth/earthengine` for authorization."],["Uses a POST request to `https://earthengine.googleapis.com/v1beta/{resource=projects/*/assets/**}:testIamPermissions` with the resource and desired permissions in the request body."]]],[]]