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