gogol-admin-directory-0.3.0: Google Admin Directory 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.Directory.VerificationCodes.Generate

Contents

Description

Generate new backup verification codes for the user.

See: Admin Directory API Reference for directory.verificationCodes.generate.

Synopsis

REST Resource

type VerificationCodesGenerateResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("verificationCodes" :> ("generate" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))) Source #

A resource alias for directory.verificationCodes.generate method which the VerificationCodesGenerate request conforms to.

Creating a Request

verificationCodesGenerate Source #

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

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

data VerificationCodesGenerate Source #

Generate new backup verification codes for the user.

See: verificationCodesGenerate smart constructor.

Instances

Eq VerificationCodesGenerate Source # 
Data VerificationCodesGenerate Source # 

Methods

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

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

toConstr :: VerificationCodesGenerate -> Constr #

dataTypeOf :: VerificationCodesGenerate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VerificationCodesGenerate Source # 
Generic VerificationCodesGenerate Source # 
GoogleRequest VerificationCodesGenerate Source # 
type Rep VerificationCodesGenerate Source # 
type Rep VerificationCodesGenerate = D1 (MetaData "VerificationCodesGenerate" "Network.Google.Resource.Directory.VerificationCodes.Generate" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" True) (C1 (MetaCons "VerificationCodesGenerate'" PrefixI True) (S1 (MetaSel (Just Symbol "_vcgUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes VerificationCodesGenerate Source # 
type Scopes VerificationCodesGenerate = (:) Symbol "https://www.googleapis.com/auth/admin.directory.user.security" ([] Symbol)
type Rs VerificationCodesGenerate Source # 

Request Lenses

vcgUserKey :: Lens' VerificationCodesGenerate Text Source #

Email or immutable Id of the user