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.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 "sendNotifications" Bool :> (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 # 
Instance details

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

Data ACLInsert Source # 
Instance details

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

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 # 
Instance details

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

Generic ACLInsert Source # 
Instance details

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

Associated Types

type Rep ACLInsert :: Type -> Type #

GoogleRequest ACLInsert Source # 
Instance details

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

Associated Types

type Rs ACLInsert :: Type #

type Scopes ACLInsert :: [Symbol] #

type Rep ACLInsert Source # 
Instance details

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

type Rep ACLInsert = D1 (MetaData "ACLInsert" "Network.Google.Resource.Calendar.ACL.Insert" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "ACLInsert'" PrefixI True) (S1 (MetaSel (Just "_aiCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_aiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ACLRule) :*: S1 (MetaSel (Just "_aiSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Scopes ACLInsert Source # 
Instance details

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

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

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

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.

aiSendNotifications :: Lens' ACLInsert (Maybe Bool) Source #

Whether to send notifications about the calendar sharing change. Optional. The default is True.