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

Contents

Description

Updates an event.

See: Calendar API Reference for calendar.events.update.

Synopsis

REST Resource

type EventsUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "conferenceDataVersion" (Textual Int32) :> (QueryParam "maxAttendees" (Textual Int32) :> (QueryParam "sendNotifications" Bool :> (QueryParam "supportsAttachments" Bool :> (QueryParam "sendUpdates" EventsUpdateSendUpdates :> (QueryParam "alwaysIncludeEmail" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Event :> Put '[JSON] Event))))))))))))) Source #

A resource alias for calendar.events.update method which the EventsUpdate request conforms to.

Creating a Request

eventsUpdate Source #

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

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

data EventsUpdate Source #

Updates an event.

See: eventsUpdate smart constructor.

Instances
Eq EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

Data EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

Methods

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

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

toConstr :: EventsUpdate -> Constr #

dataTypeOf :: EventsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

Generic EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

Associated Types

type Rep EventsUpdate :: Type -> Type #

GoogleRequest EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

Associated Types

type Rs EventsUpdate :: Type #

type Scopes EventsUpdate :: [Symbol] #

type Rep EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

type Rep EventsUpdate = D1 (MetaData "EventsUpdate" "Network.Google.Resource.Calendar.Events.Update" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "EventsUpdate'" PrefixI True) (((S1 (MetaSel (Just "_euConferenceDataVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_euCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_euPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Event) :*: S1 (MetaSel (Just "_euMaxAttendees") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) :*: ((S1 (MetaSel (Just "_euSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_euSupportsAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_euSendUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventsUpdateSendUpdates)) :*: (S1 (MetaSel (Just "_euAlwaysIncludeEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_euEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Scopes EventsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Update

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

Defined in Network.Google.Resource.Calendar.Events.Update

Request Lenses

euConferenceDataVersion :: Lens' EventsUpdate (Maybe Int32) Source #

Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.

euCalendarId :: Lens' EventsUpdate 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.

euPayload :: Lens' EventsUpdate Event Source #

Multipart request metadata.

euMaxAttendees :: Lens' EventsUpdate (Maybe Int32) Source #

The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.

euSendNotifications :: Lens' EventsUpdate (Maybe Bool) Source #

Deprecated. Please use sendUpdates instead. Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.

euSupportsAttachments :: Lens' EventsUpdate (Maybe Bool) Source #

Whether API client performing operation supports event attachments. Optional. The default is False.

euSendUpdates :: Lens' EventsUpdate (Maybe EventsUpdateSendUpdates) Source #

Guests who should receive notifications about the event update (for example, title changes, etc.).

euAlwaysIncludeEmail :: Lens' EventsUpdate (Maybe Bool) Source #

Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.

euEventId :: Lens' EventsUpdate Text Source #

Event identifier.