| 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 |
Network.Google.Resource.AndroidEnterprise.WebApps.Patch
Description
Updates an existing web app. This method supports patch semantics.
See: Google Play EMM API Reference for androidenterprise.webapps.patch.
Synopsis
- type WebAppsPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (Capture "webAppId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Patch '[JSON] WebApp)))))))
- webAppsPatch :: Text -> Text -> WebApp -> WebAppsPatch
- data WebAppsPatch
- wapWebAppId :: Lens' WebAppsPatch Text
- wapEnterpriseId :: Lens' WebAppsPatch Text
- wapPayload :: Lens' WebAppsPatch WebApp
REST Resource
type WebAppsPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (Capture "webAppId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Patch '[JSON] WebApp))))))) Source #
A resource alias for androidenterprise.webapps.patch method which the
WebAppsPatch request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> WebApp | |
| -> WebAppsPatch |
Creates a value of WebAppsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data WebAppsPatch Source #
Updates an existing web app. This method supports patch semantics.
See: webAppsPatch smart constructor.
Instances
Request Lenses
wapWebAppId :: Lens' WebAppsPatch Text Source #
The ID of the web app.
wapEnterpriseId :: Lens' WebAppsPatch Text Source #
The ID of the enterprise.
wapPayload :: Lens' WebAppsPatch WebApp Source #
Multipart request metadata.