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.Calendars.Update

Contents

Description

Updates metadata for a calendar.

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

Synopsis

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

calendarsUpdate Source #

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.

Instances
Eq CalendarsUpdate Source # 
Instance details

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

Data CalendarsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: CalendarsUpdate -> Constr #

dataTypeOf :: CalendarsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarsUpdate Source # 
Instance details

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

Generic CalendarsUpdate Source # 
Instance details

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

Associated Types

type Rep CalendarsUpdate :: Type -> Type #

GoogleRequest CalendarsUpdate Source # 
Instance details

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

Associated Types

type Rs CalendarsUpdate :: Type #

type Scopes CalendarsUpdate :: [Symbol] #

type Rep CalendarsUpdate Source # 
Instance details

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

type Rep CalendarsUpdate = D1 (MetaData "CalendarsUpdate" "Network.Google.Resource.Calendar.Calendars.Update" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "CalendarsUpdate'" PrefixI True) (S1 (MetaSel (Just "_cuCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Calendar)))
type Scopes CalendarsUpdate Source # 
Instance details

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

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

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

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.