| 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 |
Network.Google.Resource.Calendar.CalendarList.Delete
Description
Removes a calendar from the user's calendar list.
See: Calendar API Reference for calendar.calendarList.delete.
Synopsis
- type CalendarListDeleteResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- calendarListDelete :: Text -> CalendarListDelete
- data CalendarListDelete
- cldCalendarId :: Lens' CalendarListDelete Text
REST Resource
type CalendarListDeleteResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for calendar.calendarList.delete method which the
CalendarListDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> CalendarListDelete |
Creates a value of CalendarListDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CalendarListDelete Source #
Removes a calendar from the user's calendar list.
See: calendarListDelete smart constructor.
Instances
Request Lenses
cldCalendarId :: Lens' CalendarListDelete 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.