| 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.Calendars.Update
Description
Updates metadata for a calendar.
See: Calendar API Reference for calendar.calendars.update.
- type CalendarsUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Calendar :> Put `[JSON]` Calendar)))))
- calendarsUpdate :: Text -> Calendar -> CalendarsUpdate
- data CalendarsUpdate
- cuCalendarId :: Lens' CalendarsUpdate Text
- cuPayload :: Lens' CalendarsUpdate Calendar
REST Resource
type CalendarsUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Calendar :> Put `[JSON]` Calendar))))) Source
A resource alias for calendar.calendars.update method which the
CalendarsUpdate request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Calendar | |
| -> CalendarsUpdate |
Creates a value of CalendarsUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CalendarsUpdate Source
Updates metadata for a calendar.
See: calendarsUpdate smart constructor.
Request Lenses
cuCalendarId :: Lens' CalendarsUpdate 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.
cuPayload :: Lens' CalendarsUpdate Calendar Source
Multipart request metadata.