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 |
Reports the status of dataflow WorkItems leased by a worker.
See: Dataflow API Reference for dataflow.projects.jobs.workItems.reportStatus
.
Synopsis
- type ProjectsJobsWorkItemsReportStatusResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("workItems:reportStatus" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReportWorkItemStatusRequest :> Post '[JSON] ReportWorkItemStatusResponse))))))))))))
- projectsJobsWorkItemsReportStatus :: Text -> ReportWorkItemStatusRequest -> Text -> ProjectsJobsWorkItemsReportStatus
- data ProjectsJobsWorkItemsReportStatus
- pjwirsXgafv :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Xgafv)
- pjwirsJobId :: Lens' ProjectsJobsWorkItemsReportStatus Text
- pjwirsUploadProtocol :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text)
- pjwirsAccessToken :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text)
- pjwirsUploadType :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text)
- pjwirsPayload :: Lens' ProjectsJobsWorkItemsReportStatus ReportWorkItemStatusRequest
- pjwirsProjectId :: Lens' ProjectsJobsWorkItemsReportStatus Text
- pjwirsCallback :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text)
REST Resource
type ProjectsJobsWorkItemsReportStatusResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("workItems:reportStatus" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReportWorkItemStatusRequest :> Post '[JSON] ReportWorkItemStatusResponse)))))))))))) Source #
A resource alias for dataflow.projects.jobs.workItems.reportStatus
method which the
ProjectsJobsWorkItemsReportStatus
request conforms to.
Creating a Request
projectsJobsWorkItemsReportStatus Source #
Creates a value of ProjectsJobsWorkItemsReportStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsWorkItemsReportStatus Source #
Reports the status of dataflow WorkItems leased by a worker.
See: projectsJobsWorkItemsReportStatus
smart constructor.
Instances
Request Lenses
pjwirsXgafv :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Xgafv) Source #
V1 error format.
pjwirsJobId :: Lens' ProjectsJobsWorkItemsReportStatus Text Source #
The job which the WorkItem is part of.
pjwirsUploadProtocol :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjwirsAccessToken :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text) Source #
OAuth access token.
pjwirsUploadType :: Lens' ProjectsJobsWorkItemsReportStatus (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjwirsPayload :: Lens' ProjectsJobsWorkItemsReportStatus ReportWorkItemStatusRequest Source #
Multipart request metadata.
pjwirsProjectId :: Lens' ProjectsJobsWorkItemsReportStatus Text Source #
The project which owns the WorkItem's job.