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

Contents

Description

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.

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

Synopsis

REST Resource

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

A resource alias for calendar.calendars.clear method which the CalendarsClear request conforms to.

Creating a Request

calendarsClear Source #

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

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

data CalendarsClear Source #

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.

See: calendarsClear smart constructor.

Instances
Eq CalendarsClear Source # 
Instance details

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

Data CalendarsClear Source # 
Instance details

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

Methods

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

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

toConstr :: CalendarsClear -> Constr #

dataTypeOf :: CalendarsClear -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarsClear Source # 
Instance details

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

Generic CalendarsClear Source # 
Instance details

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

Associated Types

type Rep CalendarsClear :: Type -> Type #

GoogleRequest CalendarsClear Source # 
Instance details

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

Associated Types

type Rs CalendarsClear :: Type #

type Scopes CalendarsClear :: [Symbol] #

type Rep CalendarsClear Source # 
Instance details

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

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

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

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

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

type Rs CalendarsClear = ()

Request Lenses

ccCalendarId :: Lens' CalendarsClear 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.