تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis method retrieves the Android app permissions needed by an app, but is deprecated and will be inaccessible after September 30, 2025.\u003c/p\u003e\n"],["\u003cp\u003eNew integrations should refer to updated recommendations for alternative methods.\u003c/p\u003e\n"],["\u003cp\u003eTo use this method before its deprecation date, you need authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the product ID, a list of permissions with their unique IDs and acceptance status (accepted or required).\u003c/p\u003e\n"]]],[],null,["# Products: getPermissions\n\n| **Note:** Requires [authorization](#auth).\n\n\u003cbr /\u003e\n\n| **Deprecated:** New integrations cannot use this method and can refer to our [new\n| recommendations](/android/work/deprecations#recommended_alternative_4). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nRetrieves the Android app permissions required by this app.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products/productId/permissions\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `productId` | `string` | The ID of the product. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": \"androidenterprise#productPermissions\",\n \"productId\": string,\n \"permission\": [\n {\n \"permissionId\": string,\n \"state\": string\n }\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------------|----------|--------------------------------------------------------------------------------------------------------------|-------|\n| `productId` | `string` | The ID of the app that the permissions relate to, e.g. \"app:com.google.android.gm\". | |\n| `permission[]` | `list` | The permissions required by the app. | |\n| permission[].`permissionId` | `string` | An opaque string uniquely identifying the permission. | |\n| permission[].`state` | `string` | Whether the permission has been accepted or not. \u003cbr /\u003e Acceptable values are: - \"`accepted`\" - \"`required`\" | |\n| `kind` | `string` | | |"]]