Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Generate new backup verification codes for the user.
See: Admin Directory API Reference for directory.verificationCodes.generate
.
Synopsis
- type VerificationCodesGenerateResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("verificationCodes" :> ("generate" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))
- verificationCodesGenerate :: Text -> VerificationCodesGenerate
- data VerificationCodesGenerate
- vcgUserKey :: Lens' VerificationCodesGenerate Text
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
Request Lenses
vcgUserKey :: Lens' VerificationCodesGenerate Text Source #
Email or immutable ID of the user