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 |
update user
See: Admin Directory API Reference for directory.users.update
.
Synopsis
- type UsersUpdateResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] User))))))
- usersUpdate :: User -> Text -> UsersUpdate
- data UsersUpdate
- uPayload :: Lens' UsersUpdate User
- uUserKey :: Lens' UsersUpdate Text
REST Resource
type UsersUpdateResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] User)))))) Source #
A resource alias for directory.users.update
method which the
UsersUpdate
request conforms to.
Creating a Request
:: User | |
-> Text | |
-> UsersUpdate |
Creates a value of UsersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersUpdate Source #
update user
See: usersUpdate
smart constructor.