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 |
Undelete a deleted user
See: Admin Directory API Reference for directory.users.undelete
.
Synopsis
- type UsersUndeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("undelete" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserUndelete :> Post '[JSON] ())))))))
- usersUndelete :: UserUndelete -> Text -> UsersUndelete
- data UsersUndelete
- uuPayload :: Lens' UsersUndelete UserUndelete
- uuUserKey :: Lens' UsersUndelete Text
REST Resource
type UsersUndeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("undelete" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserUndelete :> Post '[JSON] ()))))))) Source #
A resource alias for directory.users.undelete
method which the
UsersUndelete
request conforms to.
Creating a Request
Creates a value of UsersUndelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersUndelete Source #
Undelete a deleted user
See: usersUndelete
smart constructor.
Instances
Request Lenses
uuPayload :: Lens' UsersUndelete UserUndelete Source #
Multipart request metadata.