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

Contents

Description

Watch for changes to Settings resources.

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

Synopsis

REST Resource

type SettingsWatchResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("settings" :> ("watch" :> (QueryParam "syncToken" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel)))))))))) Source #

A resource alias for calendar.settings.watch method which the SettingsWatch request conforms to.

Creating a Request

settingsWatch Source #

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

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

data SettingsWatch Source #

Watch for changes to Settings resources.

See: settingsWatch smart constructor.

Instances
Eq SettingsWatch Source # 
Instance details

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

Data SettingsWatch Source # 
Instance details

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

Methods

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

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

toConstr :: SettingsWatch -> Constr #

dataTypeOf :: SettingsWatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsWatch Source # 
Instance details

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

Generic SettingsWatch Source # 
Instance details

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

Associated Types

type Rep SettingsWatch :: Type -> Type #

GoogleRequest SettingsWatch Source # 
Instance details

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

Associated Types

type Rs SettingsWatch :: Type #

type Scopes SettingsWatch :: [Symbol] #

type Rep SettingsWatch Source # 
Instance details

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

type Rep SettingsWatch = D1 (MetaData "SettingsWatch" "Network.Google.Resource.Calendar.Settings.Watch" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "SettingsWatch'" PrefixI True) ((S1 (MetaSel (Just "_swSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_swPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Channel)) :*: (S1 (MetaSel (Just "_swPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_swMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes SettingsWatch Source # 
Instance details

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

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

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

Request Lenses

swSyncToken :: Lens' SettingsWatch (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 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.

swPayload :: Lens' SettingsWatch Channel Source #

Multipart request metadata.

swPageToken :: Lens' SettingsWatch (Maybe Text) Source #

Token specifying which result page to return. Optional.

swMaxResults :: Lens' SettingsWatch (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.