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. This method supports patch semantics.
See: Groups Settings API Reference for groupsSettings.groups.patch
.
Synopsis
- type GroupsPatchResource = "groups" :> ("v1" :> ("groups" :> (Capture "groupUniqueId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Groups :> Patch '[JSON] Groups)))))
- groupsPatch :: Groups -> Text -> GroupsPatch
- data GroupsPatch
- gpPayload :: Lens' GroupsPatch Groups
- gpGroupUniqueId :: Lens' GroupsPatch Text
REST Resource
type GroupsPatchResource = "groups" :> ("v1" :> ("groups" :> (Capture "groupUniqueId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Groups :> Patch '[JSON] Groups))))) Source #
A resource alias for groupsSettings.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 #
Updates an existing resource. This method supports patch semantics.
See: groupsPatch
smart constructor.
Instances
Request Lenses
gpGroupUniqueId :: Lens' GroupsPatch Text Source #
The resource ID