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 |
Updates a web app.
See: Android Management API Reference for androidmanagement.enterprises.webApps.patch
.
Synopsis
- type EnterprisesWebAppsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Patch '[JSON] WebApp)))))))))
- enterprisesWebAppsPatch :: WebApp -> Text -> EnterprisesWebAppsPatch
- data EnterprisesWebAppsPatch
- ewapXgafv :: Lens' EnterprisesWebAppsPatch (Maybe Xgafv)
- ewapUploadProtocol :: Lens' EnterprisesWebAppsPatch (Maybe Text)
- ewapUpdateMask :: Lens' EnterprisesWebAppsPatch (Maybe GFieldMask)
- ewapAccessToken :: Lens' EnterprisesWebAppsPatch (Maybe Text)
- ewapUploadType :: Lens' EnterprisesWebAppsPatch (Maybe Text)
- ewapPayload :: Lens' EnterprisesWebAppsPatch WebApp
- ewapName :: Lens' EnterprisesWebAppsPatch Text
- ewapCallback :: Lens' EnterprisesWebAppsPatch (Maybe Text)
REST Resource
type EnterprisesWebAppsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Patch '[JSON] WebApp))))))))) Source #
A resource alias for androidmanagement.enterprises.webApps.patch
method which the
EnterprisesWebAppsPatch
request conforms to.
Creating a Request
enterprisesWebAppsPatch Source #
Creates a value of EnterprisesWebAppsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesWebAppsPatch Source #
Updates a web app.
See: enterprisesWebAppsPatch
smart constructor.
Instances
Request Lenses
ewapUploadProtocol :: Lens' EnterprisesWebAppsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ewapUpdateMask :: Lens' EnterprisesWebAppsPatch (Maybe GFieldMask) Source #
The field mask indicating the fields to update. If not set, all modifiable fields will be modified.
ewapAccessToken :: Lens' EnterprisesWebAppsPatch (Maybe Text) Source #
OAuth access token.
ewapUploadType :: Lens' EnterprisesWebAppsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ewapPayload :: Lens' EnterprisesWebAppsPatch WebApp Source #
Multipart request metadata.
ewapName :: Lens' EnterprisesWebAppsPatch Text Source #
The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.
ewapCallback :: Lens' EnterprisesWebAppsPatch (Maybe Text) Source #
JSONP