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.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 "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 # 
Data ACLUpdate Source # 

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 # 
Generic ACLUpdate Source # 

Associated Types

type Rep ACLUpdate :: * -> * #

GoogleRequest ACLUpdate Source # 

Associated Types

type Rs ACLUpdate :: * #

type Scopes ACLUpdate :: [Symbol] #

type Rep ACLUpdate Source # 
type Rep ACLUpdate = D1 (MetaData "ACLUpdate" "Network.Google.Resource.Calendar.ACL.Update" "gogol-apps-calendar-0.2.0-576ggKOIuVZ6HZ15Z9MI4r" False) (C1 (MetaCons "ACLUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_auCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_auRuleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_auPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ACLRule)))))
type Scopes ACLUpdate Source # 
type Scopes ACLUpdate = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs ACLUpdate Source # 

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.