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.SetAccount

Contents

Description

Sets 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 #

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

See: enterprisesSetAccount smart constructor.

Instances
Eq EnterprisesSetAccount Source # 
Instance details

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

Data EnterprisesSetAccount Source # 
Instance details

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

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 # 
Instance details

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

Generic EnterprisesSetAccount Source # 
Instance details

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

Associated Types

type Rep EnterprisesSetAccount :: Type -> Type #

GoogleRequest EnterprisesSetAccount Source # 
Instance details

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

type Rep EnterprisesSetAccount Source # 
Instance details

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

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

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

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

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

Request Lenses