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 access control rule. This method supports patch semantics.
See: Calendar API Reference for calendar.acl.patch
.
Synopsis
- type ACLPatchResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Patch '[JSON] ACLRule))))))))
- aclPatch :: Text -> Text -> ACLRule -> ACLPatch
- data ACLPatch
- apCalendarId :: Lens' ACLPatch Text
- apRuleId :: Lens' ACLPatch Text
- apPayload :: Lens' ACLPatch ACLRule
- apSendNotifications :: Lens' ACLPatch (Maybe Bool)
REST Resource
type ACLPatchResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Patch '[JSON] ACLRule)))))))) Source #
A resource alias for calendar.acl.patch
method which the
ACLPatch
request conforms to.
Creating a Request
Creates a value of ACLPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Updates an access control rule. This method supports patch semantics.
See: aclPatch
smart constructor.