| 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.Calendars.Insert
Description
Creates a secondary calendar.
See: Calendar API Reference for calendar.calendars.insert.
Synopsis
- type CalendarsInsertResource = "calendar" :> ("v3" :> ("calendars" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Calendar :> Post '[JSON] Calendar))))
- calendarsInsert :: Calendar -> CalendarsInsert
- data CalendarsInsert
- ciPayload :: Lens' CalendarsInsert Calendar
REST Resource
type CalendarsInsertResource = "calendar" :> ("v3" :> ("calendars" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Calendar :> Post '[JSON] Calendar)))) Source #
A resource alias for calendar.calendars.insert method which the
CalendarsInsert request conforms to.
Creating a Request
Arguments
| :: Calendar | |
| -> CalendarsInsert |
Creates a value of CalendarsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CalendarsInsert Source #
Creates a secondary calendar.
See: calendarsInsert smart constructor.