gogol-android-enterprise-0.2.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.SetAccount

Contents

Description

Set the account that will be used to authenticate to the API as the enterprise.

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

Synopsis

REST Resource

type EnterprisesSetAccountResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("account" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EnterpriseAccount :> Put '[JSON] EnterpriseAccount)))))) Source #

A resource alias for androidenterprise.enterprises.setAccount method which the EnterprisesSetAccount request conforms to.

Creating a Request

enterprisesSetAccount Source #

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

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

data EnterprisesSetAccount Source #

Set the account that will be used to authenticate to the API as the enterprise.

See: enterprisesSetAccount smart constructor.

Instances

Eq EnterprisesSetAccount Source # 
Data EnterprisesSetAccount Source # 

Methods

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

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

toConstr :: EnterprisesSetAccount -> Constr #

dataTypeOf :: EnterprisesSetAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesSetAccount Source # 
Generic EnterprisesSetAccount Source # 
GoogleRequest EnterprisesSetAccount Source # 
type Rep EnterprisesSetAccount Source # 
type Rep EnterprisesSetAccount = D1 (MetaData "EnterprisesSetAccount" "Network.Google.Resource.AndroidEnterprise.Enterprises.SetAccount" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "EnterprisesSetAccount'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_esaEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_esaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EnterpriseAccount))))
type Scopes EnterprisesSetAccount Source # 
type Scopes EnterprisesSetAccount = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs EnterprisesSetAccount Source # 

Request Lenses