gogol-apps-calendar-0.2.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.List

Contents

Description

Returns the rules in the access control list for the calendar.

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

Synopsis

REST Resource

type ACLListResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (QueryParam "syncToken" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ACL))))))))) Source #

A resource alias for calendar.acl.list method which the ACLList request conforms to.

Creating a Request

aclList Source #

Arguments

:: Text

alCalendarId

-> ACLList 

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

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

data ACLList Source #

Returns the rules in the access control list for the calendar.

See: aclList smart constructor.

Instances

Eq ACLList Source # 

Methods

(==) :: ACLList -> ACLList -> Bool #

(/=) :: ACLList -> ACLList -> Bool #

Data ACLList Source # 

Methods

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

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

toConstr :: ACLList -> Constr #

dataTypeOf :: ACLList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ACLList Source # 
Generic ACLList Source # 

Associated Types

type Rep ACLList :: * -> * #

Methods

from :: ACLList -> Rep ACLList x #

to :: Rep ACLList x -> ACLList #

GoogleRequest ACLList Source # 

Associated Types

type Rs ACLList :: * #

type Scopes ACLList :: [Symbol] #

type Rep ACLList Source # 
type Rep ACLList = D1 (MetaData "ACLList" "Network.Google.Resource.Calendar.ACL.List" "gogol-apps-calendar-0.2.0-576ggKOIuVZ6HZ15Z9MI4r" False) (C1 (MetaCons "ACLList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alShowDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_alPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))
type Scopes ACLList Source # 
type Scopes ACLList = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs ACLList Source # 
type Rs ACLList = ACL

Request Lenses

alSyncToken :: Lens' ACLList (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.

alCalendarId :: Lens' ACLList 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.

alShowDeleted :: Lens' ACLList (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.

alPageToken :: Lens' ACLList (Maybe Text) Source #

Token specifying which result page to return. Optional.

alMaxResults :: Lens' ACLList (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.