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 |
Creates a web app.
See: Android Management API Reference for androidmanagement.enterprises.webApps.create
.
Synopsis
- type EnterprisesWebAppsCreateResource = "v1" :> (Capture "parent" Text :> ("webApps" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Post '[JSON] WebApp)))))))))
- enterprisesWebAppsCreate :: Text -> WebApp -> EnterprisesWebAppsCreate
- data EnterprisesWebAppsCreate
- ewacParent :: Lens' EnterprisesWebAppsCreate Text
- ewacXgafv :: Lens' EnterprisesWebAppsCreate (Maybe Xgafv)
- ewacUploadProtocol :: Lens' EnterprisesWebAppsCreate (Maybe Text)
- ewacAccessToken :: Lens' EnterprisesWebAppsCreate (Maybe Text)
- ewacUploadType :: Lens' EnterprisesWebAppsCreate (Maybe Text)
- ewacPayload :: Lens' EnterprisesWebAppsCreate WebApp
- ewacCallback :: Lens' EnterprisesWebAppsCreate (Maybe Text)
REST Resource
type EnterprisesWebAppsCreateResource = "v1" :> (Capture "parent" Text :> ("webApps" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Post '[JSON] WebApp))))))))) Source #
A resource alias for androidmanagement.enterprises.webApps.create
method which the
EnterprisesWebAppsCreate
request conforms to.
Creating a Request
enterprisesWebAppsCreate Source #
Creates a value of EnterprisesWebAppsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesWebAppsCreate Source #
Creates a web app.
See: enterprisesWebAppsCreate
smart constructor.
Instances
Request Lenses
ewacParent :: Lens' EnterprisesWebAppsCreate Text Source #
The name of the enterprise in the form enterprises/{enterpriseId}.
ewacUploadProtocol :: Lens' EnterprisesWebAppsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ewacAccessToken :: Lens' EnterprisesWebAppsCreate (Maybe Text) Source #
OAuth access token.
ewacUploadType :: Lens' EnterprisesWebAppsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ewacPayload :: Lens' EnterprisesWebAppsCreate WebApp Source #
Multipart request metadata.
ewacCallback :: Lens' EnterprisesWebAppsCreate (Maybe Text) Source #
JSONP