gogol-androidmanagement-0.4.0: Google Android Management 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.AndroidManagement.Enterprises.WebTokens.Create

Contents

Description

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

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
Eq EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

Data EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

Methods

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

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

toConstr :: EnterprisesWebTokensCreate -> Constr #

dataTypeOf :: EnterprisesWebTokensCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

Generic EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

Associated Types

type Rep EnterprisesWebTokensCreate :: Type -> Type #

GoogleRequest EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

type Rep EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

type Rep EnterprisesWebTokensCreate = D1 (MetaData "EnterprisesWebTokensCreate" "Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesWebTokensCreate'" PrefixI True) ((S1 (MetaSel (Just "_ewtcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ewtcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ewtcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ewtcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ewtcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ewtcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WebToken) :*: S1 (MetaSel (Just "_ewtcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesWebTokensCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

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

Defined in Network.Google.Resource.AndroidManagement.Enterprises.WebTokens.Create

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").

ewtcUploadType :: Lens' EnterprisesWebTokensCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").