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

Contents

Description

Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.

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

Synopsis

REST Resource

type CalendarsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #

A resource alias for calendar.calendars.delete method which the CalendarsDelete request conforms to.

Creating a Request

calendarsDelete Source #

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

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

data CalendarsDelete Source #

Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.

See: calendarsDelete smart constructor.

Instances
Eq CalendarsDelete Source # 
Instance details

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

Data CalendarsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: CalendarsDelete -> Constr #

dataTypeOf :: CalendarsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarsDelete Source # 
Instance details

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

Generic CalendarsDelete Source # 
Instance details

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

Associated Types

type Rep CalendarsDelete :: Type -> Type #

GoogleRequest CalendarsDelete Source # 
Instance details

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

Associated Types

type Rs CalendarsDelete :: Type #

type Scopes CalendarsDelete :: [Symbol] #

type Rep CalendarsDelete Source # 
Instance details

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

type Rep CalendarsDelete = D1 (MetaData "CalendarsDelete" "Network.Google.Resource.Calendar.Calendars.Delete" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" True) (C1 (MetaCons "CalendarsDelete'" PrefixI True) (S1 (MetaSel (Just "_cdCalendarId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes CalendarsDelete Source # 
Instance details

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

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

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

Request Lenses

cdCalendarId :: Lens' CalendarsDelete 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.