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.Update

Contents

Description

Updates an access control rule.

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

Synopsis

REST Resource

type ACLUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (Capture "ruleId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ACLRule :> Put '[JSON] ACLRule)))))))) Source #

A resource alias for calendar.acl.update method which the ACLUpdate request conforms to.

Creating a Request

aclUpdate Source #

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

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

data ACLUpdate Source #

Updates an access control rule.

See: aclUpdate smart constructor.

Instances
Eq ACLUpdate Source # 
Instance details

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

Data ACLUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ACLUpdate -> Constr #

dataTypeOf :: ACLUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ACLUpdate Source # 
Instance details

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

Generic ACLUpdate Source # 
Instance details

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

Associated Types

type Rep ACLUpdate :: Type -> Type #

GoogleRequest ACLUpdate Source # 
Instance details

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

Associated Types

type Rs ACLUpdate :: Type #

type Scopes ACLUpdate :: [Symbol] #

type Rep ACLUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

auCalendarId :: Lens' ACLUpdate 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.

auRuleId :: Lens' ACLUpdate Text Source #

ACL rule identifier.

auPayload :: Lens' ACLUpdate ACLRule Source #

Multipart request metadata.

auSendNotifications :: Lens' ACLUpdate (Maybe Bool) Source #

Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.