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.
See: Calendar API Reference for calendar.acl.update
.
Synopsis
- type ACLUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Put '[JSON] ACLRule))))))))
- aclUpdate :: Text -> Text -> ACLRule -> ACLUpdate
- data ACLUpdate
- auCalendarId :: Lens' ACLUpdate Text
- auRuleId :: Lens' ACLUpdate Text
- auPayload :: Lens' ACLUpdate ACLRule
- auSendNotifications :: Lens' ACLUpdate (Maybe Bool)
REST Resource
type ACLUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Put '[JSON] ACLRule)))))))) Source #
A resource alias for calendar.acl.update
method which the
ACLUpdate
request conforms to.
Creating a Request
Creates a value of ACLUpdate
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.
See: aclUpdate
smart constructor.