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 |
Returns the current set of valid backup verification codes for the specified user.
See: Admin Directory API Reference for directory.verificationCodes.list
.
Synopsis
- type VerificationCodesListResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("verificationCodes" :> (QueryParam "alt" AltJSON :> Get '[JSON] VerificationCodes))))))
- verificationCodesList :: Text -> VerificationCodesList
- data VerificationCodesList
- vclUserKey :: Lens' VerificationCodesList Text
REST Resource
type VerificationCodesListResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("verificationCodes" :> (QueryParam "alt" AltJSON :> Get '[JSON] VerificationCodes)))))) Source #
A resource alias for directory.verificationCodes.list
method which the
VerificationCodesList
request conforms to.
Creating a Request
verificationCodesList Source #
Creates a value of VerificationCodesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VerificationCodesList Source #
Returns the current set of valid backup verification codes for the specified user.
See: verificationCodesList
smart constructor.
Instances
Request Lenses
vclUserKey :: Lens' VerificationCodesList Text Source #
Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.