| 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.
- 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)))))) #
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 #
update user. This method supports patch semantics.
See: usersPatch smart constructor.
Instances
| Eq UsersPatch # | |
| Data UsersPatch # | |
| Show UsersPatch # | |
| Generic UsersPatch # | |
| GoogleRequest UsersPatch # | |
| type Rep UsersPatch # | |
| type Scopes UsersPatch # | |
| type Rs UsersPatch # | |
Request Lenses
upPayload :: Lens' UsersPatch User #
Multipart request metadata.
upUserKey :: Lens' UsersPatch Text #
Email or immutable Id of the user. If Id, it should match with id of user object