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 the Android app permissions required by this app.
See: Google Play EMM API Reference for androidenterprise.products.getPermissions
.
Synopsis
- type ProductsGetPermissionsResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("permissions" :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductPermissions)))))))
- productsGetPermissions :: Text -> Text -> ProductsGetPermissions
- data ProductsGetPermissions
- pgpEnterpriseId :: Lens' ProductsGetPermissions Text
- pgpProductId :: Lens' ProductsGetPermissions Text
REST Resource
type ProductsGetPermissionsResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("permissions" :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductPermissions))))))) Source #
A resource alias for androidenterprise.products.getPermissions
method which the
ProductsGetPermissions
request conforms to.
Creating a Request
productsGetPermissions Source #
Creates a value of ProductsGetPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductsGetPermissions Source #
Retrieves the Android app permissions required by this app.
See: productsGetPermissions
smart constructor.
Instances
Request Lenses
pgpEnterpriseId :: Lens' ProductsGetPermissions Text Source #
The ID of the enterprise.
pgpProductId :: Lens' ProductsGetPermissions Text Source #
The ID of the product.