| 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 |
Network.Google.Resource.Calendar.ACL.Patch
Description
Updates an access control rule. This method supports patch semantics.
See: Calendar API Reference for calendar.acl.patch.
- type ACLPatchResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (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
REST Resource
type ACLPatchResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (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.
Request Lenses
apCalendarId :: Lens' ACLPatch 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.