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 token to access an embeddable managed Google Play web UI for a given enterprise.
See: Android Management API Reference for androidmanagement.enterprises.webTokens.create
.
Synopsis
- type EnterprisesWebTokensCreateResource = "v1" :> (Capture "parent" Text :> ("webTokens" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebToken :> Post '[JSON] WebToken)))))))))
- enterprisesWebTokensCreate :: Text -> WebToken -> EnterprisesWebTokensCreate
- data EnterprisesWebTokensCreate
- ewtcParent :: Lens' EnterprisesWebTokensCreate Text
- ewtcXgafv :: Lens' EnterprisesWebTokensCreate (Maybe Xgafv)
- ewtcUploadProtocol :: Lens' EnterprisesWebTokensCreate (Maybe Text)
- ewtcAccessToken :: Lens' EnterprisesWebTokensCreate (Maybe Text)
- ewtcUploadType :: Lens' EnterprisesWebTokensCreate (Maybe Text)
- ewtcPayload :: Lens' EnterprisesWebTokensCreate WebToken
- ewtcCallback :: Lens' EnterprisesWebTokensCreate (Maybe Text)
REST Resource
type EnterprisesWebTokensCreateResource = "v1" :> (Capture "parent" Text :> ("webTokens" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebToken :> Post '[JSON] WebToken))))))))) Source #
A resource alias for androidmanagement.enterprises.webTokens.create
method which the
EnterprisesWebTokensCreate
request conforms to.
Creating a Request
enterprisesWebTokensCreate Source #
Creates a value of EnterprisesWebTokensCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesWebTokensCreate Source #
Creates a web token to access an embeddable managed Google Play web UI for a given enterprise.
See: enterprisesWebTokensCreate
smart constructor.
Instances
Request Lenses
ewtcParent :: Lens' EnterprisesWebTokensCreate Text Source #
The name of the enterprise in the form enterprises/{enterpriseId}.
ewtcUploadProtocol :: Lens' EnterprisesWebTokensCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ewtcAccessToken :: Lens' EnterprisesWebTokensCreate (Maybe Text) Source #
OAuth access token.
ewtcUploadType :: Lens' EnterprisesWebTokensCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ewtcPayload :: Lens' EnterprisesWebTokensCreate WebToken Source #
Multipart request metadata.
ewtcCallback :: Lens' EnterprisesWebTokensCreate (Maybe Text) Source #
JSONP