gogol-android-enterprise-0.4.0: Google Play EMM SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

Contents

Description

Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.

See: Google Play EMM API Reference for androidenterprise.enterprises.createWebToken.

Synopsis

REST Resource

type EnterprisesCreateWebTokenResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("createWebToken" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AdministratorWebTokenSpec :> Post '[JSON] AdministratorWebToken)))))) Source #

A resource alias for androidenterprise.enterprises.createWebToken method which the EnterprisesCreateWebToken request conforms to.

Creating a Request

enterprisesCreateWebToken Source #

Creates a value of EnterprisesCreateWebToken with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data EnterprisesCreateWebToken Source #

Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.

See: enterprisesCreateWebToken smart constructor.

Instances
Eq EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

Data EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnterprisesCreateWebToken -> c EnterprisesCreateWebToken #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnterprisesCreateWebToken #

toConstr :: EnterprisesCreateWebToken -> Constr #

dataTypeOf :: EnterprisesCreateWebToken -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnterprisesCreateWebToken) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnterprisesCreateWebToken) #

gmapT :: (forall b. Data b => b -> b) -> EnterprisesCreateWebToken -> EnterprisesCreateWebToken #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnterprisesCreateWebToken -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnterprisesCreateWebToken -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnterprisesCreateWebToken -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnterprisesCreateWebToken -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnterprisesCreateWebToken -> m EnterprisesCreateWebToken #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnterprisesCreateWebToken -> m EnterprisesCreateWebToken #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnterprisesCreateWebToken -> m EnterprisesCreateWebToken #

Show EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

Generic EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

Associated Types

type Rep EnterprisesCreateWebToken :: Type -> Type #

GoogleRequest EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

type Rep EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

type Rep EnterprisesCreateWebToken = D1 (MetaData "EnterprisesCreateWebToken" "Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "EnterprisesCreateWebToken'" PrefixI True) (S1 (MetaSel (Just "_ecwtEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ecwtPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AdministratorWebTokenSpec)))
type Scopes EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

type Scopes EnterprisesCreateWebToken = "https://www.googleapis.com/auth/androidenterprise" ': ([] :: [Symbol])
type Rs EnterprisesCreateWebToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken

Request Lenses