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 |
Creates an access control rule.
See: Calendar API Reference for calendar.acl.insert
.
Synopsis
- type ACLInsertResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Post '[JSON] ACLRule)))))))
- aclInsert :: Text -> ACLRule -> ACLInsert
- data ACLInsert
- aiCalendarId :: Lens' ACLInsert Text
- aiPayload :: Lens' ACLInsert ACLRule
- aiSendNotifications :: Lens' ACLInsert (Maybe Bool)
REST Resource
type ACLInsertResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Post '[JSON] ACLRule))))))) Source #
A resource alias for calendar.acl.insert
method which the
ACLInsert
request conforms to.
Creating a Request
Creates a value of ACLInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Creates an access control rule.
See: aclInsert
smart constructor.