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.Update

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.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.calendars.update method which the ResourcesCalendarsUpdate request conforms to.

Creating a Request

resourcesCalendarsUpdate Source #

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

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

data ResourcesCalendarsUpdate 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.

See: resourcesCalendarsUpdate smart constructor.

Instances
Eq ResourcesCalendarsUpdate Source # 
Instance details

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

Data ResourcesCalendarsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesCalendarsUpdate -> Constr #

dataTypeOf :: ResourcesCalendarsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesCalendarsUpdate Source # 
Instance details

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

Generic ResourcesCalendarsUpdate Source # 
Instance details

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

Associated Types

type Rep ResourcesCalendarsUpdate :: Type -> Type #

GoogleRequest ResourcesCalendarsUpdate Source # 
Instance details

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

type Rep ResourcesCalendarsUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

rcuCustomer :: Lens' ResourcesCalendarsUpdate 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.

rcuCalendarResourceId :: Lens' ResourcesCalendarsUpdate Text Source #

The unique ID of the calendar resource to update.