gogol-apps-calendar-0.1.1: 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.Patch

Contents

Description

Updates an access control rule. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for calendar.acl.patch method which the ACLPatch request conforms to.

Creating a Request

aclPatch Source #

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

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

data ACLPatch Source #

Updates an access control rule. This method supports patch semantics.

See: aclPatch smart constructor.

Instances

Eq ACLPatch Source # 
Data ACLPatch Source # 

Methods

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

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

toConstr :: ACLPatch -> Constr #

dataTypeOf :: ACLPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ACLPatch Source # 
Generic ACLPatch Source # 

Associated Types

type Rep ACLPatch :: * -> * #

Methods

from :: ACLPatch -> Rep ACLPatch x #

to :: Rep ACLPatch x -> ACLPatch #

GoogleRequest ACLPatch Source # 

Associated Types

type Rs ACLPatch :: * #

type Scopes ACLPatch :: [Symbol] #

type Rep ACLPatch Source # 
type Rep ACLPatch = D1 (MetaData "ACLPatch" "Network.Google.Resource.Calendar.ACL.Patch" "gogol-apps-calendar-0.1.1-8hrx4AbDZpA3duht5GRQsA" False) (C1 (MetaCons "ACLPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_apRuleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_apPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ACLRule)))))
type Scopes ACLPatch Source # 
type Scopes ACLPatch = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs ACLPatch Source # 

Request Lenses

apCalendarId :: Lens' ACLPatch 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.

apRuleId :: Lens' ACLPatch Text Source #

ACL rule identifier.

apPayload :: Lens' ACLPatch ACLRule Source #

Multipart request metadata.