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.Patch

Contents

Description

Updates metadata for a calendar. This method supports patch semantics.

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

Synopsis

REST Resource

type CalendarsPatchResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Calendar :> Patch '[JSON] Calendar))))) Source #

A resource alias for calendar.calendars.patch method which the CalendarsPatch request conforms to.

Creating a Request

calendarsPatch Source #

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

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

data CalendarsPatch Source #

Updates metadata for a calendar. This method supports patch semantics.

See: calendarsPatch smart constructor.

Instances
Eq CalendarsPatch Source # 
Instance details

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

Data CalendarsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: CalendarsPatch -> Constr #

dataTypeOf :: CalendarsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarsPatch Source # 
Instance details

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

Generic CalendarsPatch Source # 
Instance details

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

Associated Types

type Rep CalendarsPatch :: Type -> Type #

GoogleRequest CalendarsPatch Source # 
Instance details

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

Associated Types

type Rs CalendarsPatch :: Type #

type Scopes CalendarsPatch :: [Symbol] #

type Rep CalendarsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

cpCalendarId :: Lens' CalendarsPatch 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.

cpPayload :: Lens' CalendarsPatch Calendar Source #

Multipart request metadata.