gogol-apps-calendar-0.2.0: Google Calendar SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Calendar.CalendarList.Update

Contents

Description

Updates an entry on the user's calendar list.

See: Calendar API Reference for calendar.calendarList.update.

Synopsis

REST Resource

type CalendarListUpdateResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (Capture "calendarId" Text :> (QueryParam "colorRgbFormat" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarListEntry :> Put '[JSON] CalendarListEntry)))))))) Source #

A resource alias for calendar.calendarList.update method which the CalendarListUpdate request conforms to.

Creating a Request

calendarListUpdate Source #

Creates a value of CalendarListUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CalendarListUpdate Source #

Updates an entry on the user's calendar list.

See: calendarListUpdate smart constructor.

Instances

Eq CalendarListUpdate Source # 
Data CalendarListUpdate Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CalendarListUpdate -> c CalendarListUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CalendarListUpdate #

toConstr :: CalendarListUpdate -> Constr #

dataTypeOf :: CalendarListUpdate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CalendarListUpdate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CalendarListUpdate) #

gmapT :: (forall b. Data b => b -> b) -> CalendarListUpdate -> CalendarListUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CalendarListUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CalendarListUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> CalendarListUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CalendarListUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CalendarListUpdate -> m CalendarListUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CalendarListUpdate -> m CalendarListUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CalendarListUpdate -> m CalendarListUpdate #

Show CalendarListUpdate Source # 
Generic CalendarListUpdate Source # 
GoogleRequest CalendarListUpdate Source # 
type Rep CalendarListUpdate Source # 
type Rep CalendarListUpdate = D1 (MetaData "CalendarListUpdate" "Network.Google.Resource.Calendar.CalendarList.Update" "gogol-apps-calendar-0.2.0-576ggKOIuVZ6HZ15Z9MI4r" False) (C1 (MetaCons "CalendarListUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cluCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cluPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CalendarListEntry)) (S1 (MetaSel (Just Symbol "_cluColorRgbFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes CalendarListUpdate Source # 
type Scopes CalendarListUpdate = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs CalendarListUpdate Source # 

Request Lenses

cluCalendarId :: Lens' CalendarListUpdate 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.

cluColorRgbFormat :: Lens' CalendarListUpdate (Maybe Bool) Source #

Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.