gogol-dataflow-0.0.1: Google Dataflow SDK.

Copyright(c) 2015 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.Dataflow.Projects.Jobs.WorkItems.Lease

Contents

Description

Leases a dataflow WorkItem to run.

See: Google Dataflow API Reference for dataflow.projects.jobs.workItems.lease.

Synopsis

REST Resource

type ProjectsJobsWorkItemsLeaseResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("workItems:lease" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` LeaseWorkItemRequest :> Post `[JSON]` LeaseWorkItemResponse)))))))))))))) Source

A resource alias for dataflow.projects.jobs.workItems.lease method which the ProjectsJobsWorkItemsLease request conforms to.

Creating a Request

Request Lenses

pjwilJobId :: Lens' ProjectsJobsWorkItemsLease Text Source

Identifies the workflow job this worker belongs to.

pjwilUploadProtocol :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

pjwilUploadType :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

pjwilProjectId :: Lens' ProjectsJobsWorkItemsLease Text Source

Identifies the project this worker belongs to.