| 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 |
Network.Google.Resource.Directory.Users.Patch
Description
update user. This method supports patch semantics.
See: Admin Directory API Reference for directory.users.patch.
Synopsis
- type UsersPatchResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Patch '[JSON] User))))))
- usersPatch :: User -> Text -> UsersPatch
- data UsersPatch
- upPayload :: Lens' UsersPatch User
- upUserKey :: Lens' UsersPatch Text
REST Resource
type UsersPatchResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Patch '[JSON] User)))))) Source #
A resource alias for directory.users.patch method which the
UsersPatch request conforms to.
Creating a Request
Arguments
| :: User | |
| -> Text | |
| -> UsersPatch |
Creates a value of UsersPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersPatch Source #
update user. This method supports patch semantics.
See: usersPatch smart constructor.