gogol-apps-calendar-0.4.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 existing calendar 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 existing calendar on the user's calendar list.

See: calendarListUpdate smart constructor.

Instances
Eq CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

Data CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

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 # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

Generic CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

Associated Types

type Rep CalendarListUpdate :: Type -> Type #

GoogleRequest CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

Associated Types

type Rs CalendarListUpdate :: Type #

type Scopes CalendarListUpdate :: [Symbol] #

type Rep CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

type Rep CalendarListUpdate = D1 (MetaData "CalendarListUpdate" "Network.Google.Resource.Calendar.CalendarList.Update" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "CalendarListUpdate'" PrefixI True) (S1 (MetaSel (Just "_cluCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cluPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CalendarListEntry) :*: S1 (MetaSel (Just "_cluColorRgbFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Scopes CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

type Scopes CalendarListUpdate = "https://www.googleapis.com/auth/calendar" ': ([] :: [Symbol])
type Rs CalendarListUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Update

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.