gogol-maps-coordinate-0.1.0: Google Maps Coordinate 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.Coordinate.Schedule.Update

Contents

Description

Replaces the schedule of a job with the provided schedule.

See: Google Maps Coordinate API Reference for coordinate.schedule.update.

Synopsis

REST Resource

type ScheduleUpdateResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("jobs" :> (Capture "jobId" (Textual Word64) :> ("schedule" :> (QueryParam "allDay" Bool :> (QueryParam "startTime" (Textual Word64) :> (QueryParam "endTime" (Textual Word64) :> (QueryParam "duration" (Textual Word64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Schedule :> Put '[JSON] Schedule)))))))))))) Source #

A resource alias for coordinate.schedule.update method which the ScheduleUpdate request conforms to.

Creating a Request

scheduleUpdate Source #

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

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

data ScheduleUpdate Source #

Replaces the schedule of a job with the provided schedule.

See: scheduleUpdate smart constructor.

Instances

Eq ScheduleUpdate Source # 
Data ScheduleUpdate Source # 

Methods

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

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

toConstr :: ScheduleUpdate -> Constr #

dataTypeOf :: ScheduleUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ScheduleUpdate Source # 
Generic ScheduleUpdate Source # 

Associated Types

type Rep ScheduleUpdate :: * -> * #

GoogleRequest ScheduleUpdate Source # 
type Rep ScheduleUpdate Source # 
type Scopes ScheduleUpdate Source # 
type Scopes ScheduleUpdate = (:) Symbol "https://www.googleapis.com/auth/coordinate" ([] Symbol)
type Rs ScheduleUpdate Source # 

Request Lenses

suAllDay :: Lens' ScheduleUpdate (Maybe Bool) Source #

Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true.

suStartTime :: Lens' ScheduleUpdate (Maybe Word64) Source #

Scheduled start time in milliseconds since epoch.

suPayload :: Lens' ScheduleUpdate Schedule Source #

Multipart request metadata.

suEndTime :: Lens' ScheduleUpdate (Maybe Word64) Source #

Scheduled end time in milliseconds since epoch.

suDuration :: Lens' ScheduleUpdate (Maybe Word64) Source #

Job duration in milliseconds.