gogol-taskqueue-0.3.0: Google TaskQueue 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.TaskQueue.Tasks.Patch

Contents

Description

Update tasks that are leased out of a TaskQueue. This method supports patch semantics.

See: TaskQueue API Reference for taskqueue.tasks.patch.

Synopsis

REST Resource

type TasksPatchResource = "taskqueue" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("taskqueues" :> (Capture "taskqueue" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "newLeaseSeconds" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Task :> Patch '[JSON] Task)))))))))) Source #

A resource alias for taskqueue.tasks.patch method which the TasksPatch request conforms to.

Creating a Request

tasksPatch Source #

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

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

data TasksPatch Source #

Update tasks that are leased out of a TaskQueue. This method supports patch semantics.

See: tasksPatch smart constructor.

Instances

Eq TasksPatch Source # 
Data TasksPatch Source # 

Methods

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

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

toConstr :: TasksPatch -> Constr #

dataTypeOf :: TasksPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TasksPatch Source # 
Generic TasksPatch Source # 

Associated Types

type Rep TasksPatch :: * -> * #

GoogleRequest TasksPatch Source # 

Associated Types

type Rs TasksPatch :: * #

type Scopes TasksPatch :: [Symbol] #

type Rep TasksPatch Source # 
type Rep TasksPatch = D1 (MetaData "TasksPatch" "Network.Google.Resource.TaskQueue.Tasks.Patch" "gogol-taskqueue-0.3.0-De6GncU4nRo3TG29sWTEtK" False) (C1 (MetaCons "TasksPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tpTaskQueue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Task)) ((:*:) (S1 (MetaSel (Just Symbol "_tpTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tpNewLeaseSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))))
type Scopes TasksPatch Source # 
type Scopes TasksPatch = (:) Symbol "https://www.googleapis.com/auth/taskqueue" ((:) Symbol "https://www.googleapis.com/auth/taskqueue.consumer" ([] Symbol))
type Rs TasksPatch Source # 

Request Lenses

tpProject :: Lens' TasksPatch Text Source #

The project under which the queue lies.

tpPayload :: Lens' TasksPatch Task Source #

Multipart request metadata.

tpNewLeaseSeconds :: Lens' TasksPatch Int32 Source #

The new lease in seconds.