Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Leases a dataflow WorkItem to run.
See: Google Dataflow API Reference for dataflow.projects.jobs.workItems.lease
.
- 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))))))))))))))
- projectsJobsWorkItemsLease :: Text -> LeaseWorkItemRequest -> Text -> ProjectsJobsWorkItemsLease
- data ProjectsJobsWorkItemsLease
- pjwilXgafv :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilJobId :: Lens' ProjectsJobsWorkItemsLease Text
- pjwilUploadProtocol :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilPp :: Lens' ProjectsJobsWorkItemsLease Bool
- pjwilAccessToken :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilUploadType :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilPayload :: Lens' ProjectsJobsWorkItemsLease LeaseWorkItemRequest
- pjwilBearerToken :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilProjectId :: Lens' ProjectsJobsWorkItemsLease Text
- pjwilCallback :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
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
projectsJobsWorkItemsLease Source
Creates a value of ProjectsJobsWorkItemsLease
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsWorkItemsLease Source
Leases a dataflow WorkItem to run.
See: projectsJobsWorkItemsLease
smart constructor.
Request Lenses
pjwilXgafv :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source
V1 error format.
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").
pjwilPp :: Lens' ProjectsJobsWorkItemsLease Bool Source
Pretty-print response.
pjwilAccessToken :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source
OAuth access token.
pjwilUploadType :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
pjwilPayload :: Lens' ProjectsJobsWorkItemsLease LeaseWorkItemRequest Source
Multipart request metadata.
pjwilBearerToken :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source
OAuth bearer token.
pjwilProjectId :: Lens' ProjectsJobsWorkItemsLease Text Source
Identifies the project this worker belongs to.
pjwilCallback :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source
JSONP