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

Contents

Description

Watch for changes to ACL resources.

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

Synopsis

REST Resource

type ACLWatchResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> ("watch" :> (QueryParam "syncToken" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel))))))))))) Source #

A resource alias for calendar.acl.watch method which the ACLWatch request conforms to.

Creating a Request

aclWatch Source #

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

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

data ACLWatch Source #

Watch for changes to ACL resources.

See: aclWatch smart constructor.

Instances
Eq ACLWatch Source # 
Instance details

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

Data ACLWatch Source # 
Instance details

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

Methods

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

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

toConstr :: ACLWatch -> Constr #

dataTypeOf :: ACLWatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ACLWatch Source # 
Instance details

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

Generic ACLWatch Source # 
Instance details

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

Associated Types

type Rep ACLWatch :: Type -> Type #

Methods

from :: ACLWatch -> Rep ACLWatch x #

to :: Rep ACLWatch x -> ACLWatch #

GoogleRequest ACLWatch Source # 
Instance details

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

Associated Types

type Rs ACLWatch :: Type #

type Scopes ACLWatch :: [Symbol] #

type Rep ACLWatch Source # 
Instance details

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

type Rep ACLWatch = D1 (MetaData "ACLWatch" "Network.Google.Resource.Calendar.ACL.Watch" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "ACLWatch'" PrefixI True) ((S1 (MetaSel (Just "_awSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_awCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_awShowDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_awPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Channel) :*: (S1 (MetaSel (Just "_awPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_awMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes ACLWatch Source # 
Instance details

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

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

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

Request Lenses

awSyncToken :: Lens' ACLWatch (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. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False. 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.

awCalendarId :: Lens' ACLWatch 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.

awShowDeleted :: Lens' ACLWatch (Maybe Bool) Source #

Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.

awPayload :: Lens' ACLWatch Channel Source #

Multipart request metadata.

awPageToken :: Lens' ACLWatch (Maybe Text) Source #

Token specifying which result page to return. Optional.

awMaxResults :: Lens' ACLWatch (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.