gogol-android-enterprise-0.3.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.ServiceAccountkeys.Insert

Contents

Description

Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Only the type of the key should be populated in the resource to be inserted.

See: Google Play EMM API Reference for androidenterprise.serviceaccountkeys.insert.

Synopsis

REST Resource

type ServiceAccountkeysInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("serviceAccountKeys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ServiceAccountKey :> Post '[JSON] ServiceAccountKey)))))) Source #

A resource alias for androidenterprise.serviceaccountkeys.insert method which the ServiceAccountkeysInsert request conforms to.

Creating a Request

serviceAccountkeysInsert Source #

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

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

data ServiceAccountkeysInsert Source #

Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Only the type of the key should be populated in the resource to be inserted.

See: serviceAccountkeysInsert smart constructor.

Instances

Eq ServiceAccountkeysInsert Source # 
Data ServiceAccountkeysInsert Source # 

Methods

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

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

toConstr :: ServiceAccountkeysInsert -> Constr #

dataTypeOf :: ServiceAccountkeysInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceAccountkeysInsert Source # 
Generic ServiceAccountkeysInsert Source # 
GoogleRequest ServiceAccountkeysInsert Source # 
type Rep ServiceAccountkeysInsert Source # 
type Rep ServiceAccountkeysInsert = D1 (MetaData "ServiceAccountkeysInsert" "Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert" "gogol-android-enterprise-0.3.0-CY7ecx5snBQ31L6me2CTsO" False) (C1 (MetaCons "ServiceAccountkeysInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_saiEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_saiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceAccountKey))))
type Scopes ServiceAccountkeysInsert Source # 
type Scopes ServiceAccountkeysInsert = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs ServiceAccountkeysInsert Source # 

Request Lenses