summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs
diff options
context:
space:
mode:
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs17
1 files changed, 12 insertions, 5 deletions
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs
index f4d4e20..214c42f 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Jobs/WorkItems/ReportStatus.hs
@@ -71,7 +71,8 @@ type ProjectsLocationsJobsWorkItemsReportStatusResource
-- | Reports the status of dataflow WorkItems leased by a worker.
--
-- /See:/ 'projectsLocationsJobsWorkItemsReportStatus' smart constructor.
-data ProjectsLocationsJobsWorkItemsReportStatus = ProjectsLocationsJobsWorkItemsReportStatus'
+data ProjectsLocationsJobsWorkItemsReportStatus =
+ ProjectsLocationsJobsWorkItemsReportStatus'
{ _pljwirsXgafv :: !(Maybe Xgafv)
, _pljwirsJobId :: !Text
, _pljwirsUploadProtocol :: !(Maybe Text)
@@ -81,7 +82,9 @@ data ProjectsLocationsJobsWorkItemsReportStatus = ProjectsLocationsJobsWorkItems
, _pljwirsPayload :: !ReportWorkItemStatusRequest
, _pljwirsProjectId :: !Text
, _pljwirsCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsLocationsJobsWorkItemsReportStatus' with the minimum fields required to make a request.
--
@@ -111,7 +114,7 @@ projectsLocationsJobsWorkItemsReportStatus
-> Text -- ^ 'pljwirsProjectId'
-> ProjectsLocationsJobsWorkItemsReportStatus
projectsLocationsJobsWorkItemsReportStatus pPljwirsJobId_ pPljwirsLocation_ pPljwirsPayload_ pPljwirsProjectId_ =
- ProjectsLocationsJobsWorkItemsReportStatus'
+ ProjectsLocationsJobsWorkItemsReportStatus'
{ _pljwirsXgafv = Nothing
, _pljwirsJobId = pPljwirsJobId_
, _pljwirsUploadProtocol = Nothing
@@ -123,6 +126,7 @@ projectsLocationsJobsWorkItemsReportStatus pPljwirsJobId_ pPljwirsLocation_ pPlj
, _pljwirsCallback = Nothing
}
+
-- | V1 error format.
pljwirsXgafv :: Lens' ProjectsLocationsJobsWorkItemsReportStatus (Maybe Xgafv)
pljwirsXgafv
@@ -139,7 +143,9 @@ pljwirsUploadProtocol
= lens _pljwirsUploadProtocol
(\ s a -> s{_pljwirsUploadProtocol = a})
--- | The location which contains the WorkItem\'s job.
+-- | The [regional endpoint]
+-- (https:\/\/cloud.google.com\/dataflow\/docs\/concepts\/regional-endpoints)
+-- that contains the WorkItem\'s job.
pljwirsLocation :: Lens' ProjectsLocationsJobsWorkItemsReportStatus Text
pljwirsLocation
= lens _pljwirsLocation
@@ -176,7 +182,8 @@ pljwirsCallback
(\ s a -> s{_pljwirsCallback = a})
instance GoogleRequest
- ProjectsLocationsJobsWorkItemsReportStatus where
+ ProjectsLocationsJobsWorkItemsReportStatus
+ where
type Rs ProjectsLocationsJobsWorkItemsReportStatus =
ReportWorkItemStatusResponse
type Scopes