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.jobs.workItems.lease
.
Synopsis
- type ProjectsJobsWorkItemsLeaseResource = "v1b3" :> ("projects" :> (Capture "projectId" 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))))))))))))
- projectsJobsWorkItemsLease :: Text -> LeaseWorkItemRequest -> Text -> ProjectsJobsWorkItemsLease
- data ProjectsJobsWorkItemsLease
- pjwilXgafv :: Lens' ProjectsJobsWorkItemsLease (Maybe Xgafv)
- pjwilJobId :: Lens' ProjectsJobsWorkItemsLease Text
- pjwilUploadProtocol :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilAccessToken :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilUploadType :: Lens' ProjectsJobsWorkItemsLease (Maybe Text)
- pjwilPayload :: Lens' ProjectsJobsWorkItemsLease LeaseWorkItemRequest
- 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" 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.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.
Instances
Request Lenses
pjwilXgafv :: Lens' ProjectsJobsWorkItemsLease (Maybe Xgafv) 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").
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.
pjwilProjectId :: Lens' ProjectsJobsWorkItemsLease Text Source #
Identifies the project this worker belongs to.
pjwilCallback :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source #
JSONP