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

Contents

Description

Watch for changes to CalendarList resources.

See: Calendar API Reference for calendar.calendarList.watch.

Synopsis

REST Resource

type CalendarListWatchResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> ("watch" :> (QueryParam "syncToken" Text :> (QueryParam "minAccessRole" CalendarListWatchMinAccessRole :> (QueryParam "showDeleted" Bool :> (QueryParam "showHidden" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel))))))))))))) Source #

A resource alias for calendar.calendarList.watch method which the CalendarListWatch request conforms to.

Creating a Request

calendarListWatch Source #

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

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

data CalendarListWatch Source #

Watch for changes to CalendarList resources.

See: calendarListWatch smart constructor.

Instances
Eq CalendarListWatch Source # 
Instance details

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

Data CalendarListWatch Source # 
Instance details

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

Methods

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

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

toConstr :: CalendarListWatch -> Constr #

dataTypeOf :: CalendarListWatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarListWatch Source # 
Instance details

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

Generic CalendarListWatch Source # 
Instance details

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

Associated Types

type Rep CalendarListWatch :: Type -> Type #

GoogleRequest CalendarListWatch Source # 
Instance details

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

Associated Types

type Rs CalendarListWatch :: Type #

type Scopes CalendarListWatch :: [Symbol] #

type Rep CalendarListWatch Source # 
Instance details

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

type Rep CalendarListWatch = D1 (MetaData "CalendarListWatch" "Network.Google.Resource.Calendar.CalendarList.Watch" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "CalendarListWatch'" PrefixI True) ((S1 (MetaSel (Just "_clwSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_clwMinAccessRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CalendarListWatchMinAccessRole)) :*: S1 (MetaSel (Just "_clwShowDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_clwPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Channel) :*: S1 (MetaSel (Just "_clwShowHidden") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_clwPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_clwMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes CalendarListWatch Source # 
Instance details

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

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

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

Request Lenses

clwSyncToken :: Lens' CalendarListWatch (Maybe Text) Source #

Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False. To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.

clwMinAccessRole :: Lens' CalendarListWatch (Maybe CalendarListWatchMinAccessRole) Source #

The minimum access role for the user in the returned entries. Optional. The default is no restriction.

clwShowDeleted :: Lens' CalendarListWatch (Maybe Bool) Source #

Whether to include deleted calendar list entries in the result. Optional. The default is False.

clwPayload :: Lens' CalendarListWatch Channel Source #

Multipart request metadata.

clwShowHidden :: Lens' CalendarListWatch (Maybe Bool) Source #

Whether to show hidden entries. Optional. The default is False.

clwPageToken :: Lens' CalendarListWatch (Maybe Text) Source #

Token specifying which result page to return. Optional.

clwMaxResults :: Lens' CalendarListWatch (Maybe Int32) Source #

Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.