gogol-apps-calendar-0.3.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.Insert

Contents

Description

Creates an access control rule.

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

Synopsis

REST Resource

type ACLInsertResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Post '[JSON] ACLRule)))))) Source #

A resource alias for calendar.acl.insert method which the ACLInsert request conforms to.

Creating a Request

aclInsert Source #

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

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

data ACLInsert Source #

Creates an access control rule.

See: aclInsert smart constructor.

Instances

Eq ACLInsert Source # 
Data ACLInsert Source # 

Methods

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

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

toConstr :: ACLInsert -> Constr #

dataTypeOf :: ACLInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ACLInsert Source # 
Generic ACLInsert Source # 

Associated Types

type Rep ACLInsert :: * -> * #

GoogleRequest ACLInsert Source # 

Associated Types

type Rs ACLInsert :: * #

type Scopes ACLInsert :: [Symbol] #

type Rep ACLInsert Source # 
type Rep ACLInsert = D1 (MetaData "ACLInsert" "Network.Google.Resource.Calendar.ACL.Insert" "gogol-apps-calendar-0.3.0-FDnpsvyxwsa1LmsX8jwnhn" False) (C1 (MetaCons "ACLInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aiCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_aiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ACLRule))))
type Scopes ACLInsert Source # 
type Scopes ACLInsert = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs ACLInsert Source # 

Request Lenses

aiCalendarId :: Lens' ACLInsert 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.

aiPayload :: Lens' ACLInsert ACLRule Source #

Multipart request metadata.