Copyright | (c) 2015-2016 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: Dataflow API Reference for dataflow.projects.locations.jobs.workItems.lease
.
Synopsis
- type ProjectsLocationsJobsWorkItemsLeaseResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (Capture "jobId" Text :> ("workItems:lease" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaseWorkItemRequest :> Post '[JSON] LeaseWorkItemResponse))))))))))))))
- projectsLocationsJobsWorkItemsLease :: Text -> Text -> LeaseWorkItemRequest -> Text -> ProjectsLocationsJobsWorkItemsLease
- data ProjectsLocationsJobsWorkItemsLease
- pljwilXgafv :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Xgafv)
- pljwilJobId :: Lens' ProjectsLocationsJobsWorkItemsLease Text
- pljwilUploadProtocol :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text)
- pljwilLocation :: Lens' ProjectsLocationsJobsWorkItemsLease Text
- pljwilAccessToken :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text)
- pljwilUploadType :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text)
- pljwilPayload :: Lens' ProjectsLocationsJobsWorkItemsLease LeaseWorkItemRequest
- pljwilProjectId :: Lens' ProjectsLocationsJobsWorkItemsLease Text
- pljwilCallback :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text)
REST Resource
type ProjectsLocationsJobsWorkItemsLeaseResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (Capture "jobId" Text :> ("workItems:lease" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaseWorkItemRequest :> Post '[JSON] LeaseWorkItemResponse)))))))))))))) Source #
A resource alias for dataflow.projects.locations.jobs.workItems.lease
method which the
ProjectsLocationsJobsWorkItemsLease
request conforms to.
Creating a Request
projectsLocationsJobsWorkItemsLease Source #
Creates a value of ProjectsLocationsJobsWorkItemsLease
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsJobsWorkItemsLease Source #
Leases a dataflow WorkItem to run.
See: projectsLocationsJobsWorkItemsLease
smart constructor.
Instances
Request Lenses
pljwilXgafv :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Xgafv) Source #
V1 error format.
pljwilJobId :: Lens' ProjectsLocationsJobsWorkItemsLease Text Source #
Identifies the workflow job this worker belongs to.
pljwilUploadProtocol :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pljwilLocation :: Lens' ProjectsLocationsJobsWorkItemsLease Text Source #
The location which contains the WorkItem's job.
pljwilAccessToken :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text) Source #
OAuth access token.
pljwilUploadType :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pljwilPayload :: Lens' ProjectsLocationsJobsWorkItemsLease LeaseWorkItemRequest Source #
Multipart request metadata.
pljwilProjectId :: Lens' ProjectsLocationsJobsWorkItemsLease Text Source #
Identifies the project this worker belongs to.