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 |
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
See: Calendar API Reference for calendar.calendars.clear
.
Synopsis
- type CalendarsClearResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("clear" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))
- calendarsClear :: Text -> CalendarsClear
- data CalendarsClear
- ccCalendarId :: Lens' CalendarsClear Text
REST Resource
type CalendarsClearResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("clear" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #
A resource alias for calendar.calendars.clear
method which the
CalendarsClear
request conforms to.
Creating a Request
Creates a value of CalendarsClear
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CalendarsClear Source #
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
See: calendarsClear
smart constructor.
Instances
Request Lenses
ccCalendarId :: Lens' CalendarsClear 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.