gogol-admin-directory-0.5.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 # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

Data VerificationCodesGenerate Source # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

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

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

Generic VerificationCodesGenerate Source # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

Associated Types

type Rep VerificationCodesGenerate :: Type -> Type #

GoogleRequest VerificationCodesGenerate Source # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

type Rep VerificationCodesGenerate Source # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

type Rep VerificationCodesGenerate = D1 (MetaData "VerificationCodesGenerate" "Network.Google.Resource.Directory.VerificationCodes.Generate" "gogol-admin-directory-0.5.0-CACG6Jlc7nkAJWZ09aW4bk" True) (C1 (MetaCons "VerificationCodesGenerate'" PrefixI True) (S1 (MetaSel (Just "_vcgUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes VerificationCodesGenerate Source # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

type Scopes VerificationCodesGenerate = "https://www.googleapis.com/auth/admin.directory.user.security" ': ([] :: [Symbol])
type Rs VerificationCodesGenerate Source # 
Instance details

Defined in Network.Google.Resource.Directory.VerificationCodes.Generate

Request Lenses

vcgUserKey :: Lens' VerificationCodesGenerate Text Source #

Email or immutable ID of the user