Copyright | (c) 2015 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
.
- type ACLUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (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
REST Resource
type ACLUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (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.
Request Lenses
auCalendarId :: Lens' ACLUpdate Text Source
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.