summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs
diff options
context:
space:
mode:
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs17
1 files changed, 12 insertions, 5 deletions
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs b/gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs
index c6fc1ba..3489874 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Locations/WorkerMessages.hs
@@ -67,7 +67,8 @@ type ProjectsLocationsWorkerMessagesResource =
-- | Send a worker_message to the service.
--
-- /See:/ 'projectsLocationsWorkerMessages' smart constructor.
-data ProjectsLocationsWorkerMessages = ProjectsLocationsWorkerMessages'
+data ProjectsLocationsWorkerMessages =
+ ProjectsLocationsWorkerMessages'
{ _plwmXgafv :: !(Maybe Xgafv)
, _plwmUploadProtocol :: !(Maybe Text)
, _plwmLocation :: !Text
@@ -76,7 +77,9 @@ data ProjectsLocationsWorkerMessages = ProjectsLocationsWorkerMessages'
, _plwmPayload :: !SendWorkerMessagesRequest
, _plwmProjectId :: !Text
, _plwmCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsLocationsWorkerMessages' with the minimum fields required to make a request.
--
@@ -103,7 +106,7 @@ projectsLocationsWorkerMessages
-> Text -- ^ 'plwmProjectId'
-> ProjectsLocationsWorkerMessages
projectsLocationsWorkerMessages pPlwmLocation_ pPlwmPayload_ pPlwmProjectId_ =
- ProjectsLocationsWorkerMessages'
+ ProjectsLocationsWorkerMessages'
{ _plwmXgafv = Nothing
, _plwmUploadProtocol = Nothing
, _plwmLocation = pPlwmLocation_
@@ -114,6 +117,7 @@ projectsLocationsWorkerMessages pPlwmLocation_ pPlwmPayload_ pPlwmProjectId_ =
, _plwmCallback = Nothing
}
+
-- | V1 error format.
plwmXgafv :: Lens' ProjectsLocationsWorkerMessages (Maybe Xgafv)
plwmXgafv
@@ -125,7 +129,9 @@ plwmUploadProtocol
= lens _plwmUploadProtocol
(\ s a -> s{_plwmUploadProtocol = a})
--- | The location which contains the job
+-- | The [regional endpoint]
+-- (https:\/\/cloud.google.com\/dataflow\/docs\/concepts\/regional-endpoints)
+-- that contains the job.
plwmLocation :: Lens' ProjectsLocationsWorkerMessages Text
plwmLocation
= lens _plwmLocation (\ s a -> s{_plwmLocation = a})
@@ -159,7 +165,8 @@ plwmCallback
= lens _plwmCallback (\ s a -> s{_plwmCallback = a})
instance GoogleRequest
- ProjectsLocationsWorkerMessages where
+ ProjectsLocationsWorkerMessages
+ where
type Rs ProjectsLocationsWorkerMessages =
SendWorkerMessagesResponse
type Scopes ProjectsLocationsWorkerMessages =