gogol-admin-directory-0.1.1: Google Admin Directory 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.Directory.Resources.Calendars.Patch

Contents

Description

Updates a calendar resource. This method supports patch semantics.

See: Admin Directory API Reference for directory.resources.calendars.patch.

Synopsis

REST Resource

type ResourcesCalendarsPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (Capture "calendarResourceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Patch '[JSON] CalendarResource))))))))) Source #

A resource alias for directory.resources.calendars.patch method which the ResourcesCalendarsPatch request conforms to.

Creating a Request

resourcesCalendarsPatch Source #

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

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

data ResourcesCalendarsPatch Source #

Updates a calendar resource. This method supports patch semantics.

See: resourcesCalendarsPatch smart constructor.

Instances

Eq ResourcesCalendarsPatch Source # 
Data ResourcesCalendarsPatch Source # 

Methods

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

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

toConstr :: ResourcesCalendarsPatch -> Constr #

dataTypeOf :: ResourcesCalendarsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesCalendarsPatch Source # 
Generic ResourcesCalendarsPatch Source # 
GoogleRequest ResourcesCalendarsPatch Source # 
type Rep ResourcesCalendarsPatch Source # 
type Rep ResourcesCalendarsPatch = D1 (MetaData "ResourcesCalendarsPatch" "Network.Google.Resource.Directory.Resources.Calendars.Patch" "gogol-admin-directory-0.1.1-73Tf2vuRaxhTzoNR29qV8" False) (C1 (MetaCons "ResourcesCalendarsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rcpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CalendarResource)) ((:*:) (S1 (MetaSel (Just Symbol "_rcpCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rcpCalendarResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ResourcesCalendarsPatch Source # 
type Scopes ResourcesCalendarsPatch = (:) Symbol "https://www.googleapis.com/auth/admin.directory.resource.calendar" ([] Symbol)
type Rs ResourcesCalendarsPatch Source # 

Request Lenses

rcpCustomer :: Lens' ResourcesCalendarsPatch Text Source #

The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

rcpCalendarResourceId :: Lens' ResourcesCalendarsPatch Text Source #

The unique ID of the calendar resource to update.