با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مجوزهایی را که تماس گیرنده در منبع مشخص شده دارد، برمی گرداند. اگر منبع وجود نداشته باشد، این یک مجموعه خالی از مجوزها را برمی گرداند، نه یک خطای NOT_FOUND.
توجه: این عملیات برای استفاده برای رابطهای کاربری آگاه از مجوز و ابزارهای خط فرمان طراحی شده است، نه برای بررسی مجوز. این عملیات ممکن است بدون اخطار "باز شود".
درخواست HTTP
POST https://earthengine.googleapis.com/v1/{resource=projects/*/assets/**}:testIamPermissions
تاریخ آخرین بهروزرسانی 2025-03-07 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-07 بهوقت ساعت هماهنگ جهانی."],[[["Returns caller permissions for a specified Earth Engine resource, even if the resource doesn't exist, providing an empty set instead of an error."],["Primarily designed for building permission-aware user interfaces and command-line tools, not for strict authorization checks."],["Accepts a list of specific permissions to check against the resource, using a POST request to a defined endpoint."],["Requires specific OAuth scopes for authentication, like `https://www.googleapis.com/auth/earthengine` or `https://www.googleapis.com/auth/cloud-platform`."]]],["This endpoint, using a POST request to the specified URL, retrieves a caller's permissions for a given resource. It requires the resource path as a parameter and a JSON request body with a list of permissions to check. Wildcard permissions are not permitted. The response indicates the permissions held, returning an empty set if the resource doesn't exist. This is designed for UI/tool development, not for authorization checks, and can \"fail open.\" OAuth scopes are required for authorization.\n"]]