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 Group. This method supports patch semantics.
See: Admin Directory API Reference for directory.groups.patch
.
Synopsis
- type GroupsPatchResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Patch '[JSON] Group))))))
- groupsPatch :: Text -> Group -> GroupsPatch
- data GroupsPatch
- gpGroupKey :: Lens' GroupsPatch Text
- gpPayload :: Lens' GroupsPatch Group
REST Resource
type GroupsPatchResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Patch '[JSON] Group)))))) Source #
A resource alias for directory.groups.patch
method which the
GroupsPatch
request conforms to.
Creating a Request
Creates a value of GroupsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsPatch Source #
Update Group. This method supports patch semantics.
See: groupsPatch
smart constructor.
Instances
Request Lenses
gpGroupKey :: Lens' GroupsPatch Text Source #
Email or immutable ID of the group. If ID, it should match with id of group object