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 |
This method has been deprecated. To programmatically approve applications, you must use the iframe mechanism via the generateApprovalUrl and approve methods of the Products resource. For more information, see the Play EMM API usage requirements. The updatePermissions method (deprecated) updates the set of Android app permissions for this app that have been accepted by the enterprise.
See: Google Play EMM API Reference for androidenterprise.products.updatePermissions
.
- type ProductsUpdatePermissionsResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("permissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProductPermissions :> Put '[JSON] ProductPermissions))))))))
- productsUpdatePermissions :: Text -> ProductPermissions -> Text -> ProductsUpdatePermissions
- data ProductsUpdatePermissions
- pupEnterpriseId :: Lens' ProductsUpdatePermissions Text
- pupPayload :: Lens' ProductsUpdatePermissions ProductPermissions
- pupProductId :: Lens' ProductsUpdatePermissions Text
REST Resource
type ProductsUpdatePermissionsResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("permissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProductPermissions :> Put '[JSON] ProductPermissions)))))))) Source #
A resource alias for androidenterprise.products.updatePermissions
method which the
ProductsUpdatePermissions
request conforms to.
Creating a Request
productsUpdatePermissions Source #
Creates a value of ProductsUpdatePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductsUpdatePermissions Source #
This method has been deprecated. To programmatically approve applications, you must use the iframe mechanism via the generateApprovalUrl and approve methods of the Products resource. For more information, see the Play EMM API usage requirements. The updatePermissions method (deprecated) updates the set of Android app permissions for this app that have been accepted by the enterprise.
See: productsUpdatePermissions
smart constructor.
Request Lenses
pupEnterpriseId :: Lens' ProductsUpdatePermissions Text Source #
The ID of the enterprise.
pupPayload :: Lens' ProductsUpdatePermissions ProductPermissions Source #
Multipart request metadata.
pupProductId :: Lens' ProductsUpdatePermissions Text Source #
The ID of the product.