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

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

Data ACLPatch Source # 
Instance details

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

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

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

Generic ACLPatch Source # 
Instance details

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

Associated Types

type Rep ACLPatch :: Type -> Type #

Methods

from :: ACLPatch -> Rep ACLPatch x #

to :: Rep ACLPatch x -> ACLPatch #

GoogleRequest ACLPatch Source # 
Instance details

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

Associated Types

type Rs ACLPatch :: Type #

type Scopes ACLPatch :: [Symbol] #

type Rep ACLPatch Source # 
Instance details

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

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

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

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

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

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.

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