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 |
Updates an existing resource.
See: Groups Settings API Reference for groupsSettings.groups.update
.
Synopsis
- type GroupsUpdateResource = "groups" :> ("v1" :> ("groups" :> (Capture "groupUniqueId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Groups :> Put '[JSON] Groups)))))
- groupsUpdate :: Groups -> Text -> GroupsUpdate
- data GroupsUpdate
- guPayload :: Lens' GroupsUpdate Groups
- guGroupUniqueId :: Lens' GroupsUpdate Text
REST Resource
type GroupsUpdateResource = "groups" :> ("v1" :> ("groups" :> (Capture "groupUniqueId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Groups :> Put '[JSON] Groups))))) Source #
A resource alias for groupsSettings.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 #
Updates an existing resource.
See: groupsUpdate
smart constructor.
Instances
Request Lenses
guGroupUniqueId :: Lens' GroupsUpdate Text Source #
The resource ID