gogol-admin-directory-0.4.0: 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, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. 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, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. This method supports patch semantics.

See: resourcesCalendarsPatch smart constructor.

Instances
Eq ResourcesCalendarsPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

Data ResourcesCalendarsPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

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

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

Generic ResourcesCalendarsPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

Associated Types

type Rep ResourcesCalendarsPatch :: Type -> Type #

GoogleRequest ResourcesCalendarsPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

type Rep ResourcesCalendarsPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

type Rep ResourcesCalendarsPatch = D1 (MetaData "ResourcesCalendarsPatch" "Network.Google.Resource.Directory.Resources.Calendars.Patch" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ResourcesCalendarsPatch'" PrefixI True) (S1 (MetaSel (Just "_rcpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CalendarResource) :*: (S1 (MetaSel (Just "_rcpCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rcpCalendarResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ResourcesCalendarsPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

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

Defined in Network.Google.Resource.Directory.Resources.Calendars.Patch

Request Lenses

rcpCustomer :: Lens' ResourcesCalendarsPatch Text Source #

The unique ID for the customer's G Suite 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.