Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves details of an Android app permission for display to an enterprise admin.
See: Google Play EMM API Reference for androidenterprise.permissions.get
.
Synopsis
- type PermissionsGetResource = "androidenterprise" :> ("v1" :> ("permissions" :> (Capture "permissionId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Permission)))))
- permissionsGet :: Text -> PermissionsGet
- data PermissionsGet
- pgLanguage :: Lens' PermissionsGet (Maybe Text)
- pgPermissionId :: Lens' PermissionsGet Text
REST Resource
type PermissionsGetResource = "androidenterprise" :> ("v1" :> ("permissions" :> (Capture "permissionId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Permission))))) Source #
A resource alias for androidenterprise.permissions.get
method which the
PermissionsGet
request conforms to.
Creating a Request
Creates a value of PermissionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PermissionsGet Source #
Retrieves details of an Android app permission for display to an enterprise admin.
See: permissionsGet
smart constructor.
Instances
Request Lenses
pgLanguage :: Lens' PermissionsGet (Maybe Text) Source #
The BCP47 tag for the user's preferred language (e.g. "en-US", "de")
pgPermissionId :: Lens' PermissionsGet Text Source #
The ID of the permission.