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

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

Data ServiceAccountkeysInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

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

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

Generic ServiceAccountkeysInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

Associated Types

type Rep ServiceAccountkeysInsert :: Type -> Type #

GoogleRequest ServiceAccountkeysInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

type Rep ServiceAccountkeysInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

type Rep ServiceAccountkeysInsert = D1 (MetaData "ServiceAccountkeysInsert" "Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "ServiceAccountkeysInsert'" PrefixI True) (S1 (MetaSel (Just "_saiEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_saiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceAccountKey)))
type Scopes ServiceAccountkeysInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

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

Defined in Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert

Request Lenses