summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs
diff options
context:
space:
mode:
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs14
1 files changed, 10 insertions, 4 deletions
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs b/gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs
index f0e6dcc..6081146 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs
@@ -74,7 +74,8 @@ type ProjectsTemplatesLaunchResource =
-- | Launch a template.
--
-- /See:/ 'projectsTemplatesLaunch' smart constructor.
-data ProjectsTemplatesLaunch = ProjectsTemplatesLaunch'
+data ProjectsTemplatesLaunch =
+ ProjectsTemplatesLaunch'
{ _ptlXgafv :: !(Maybe Xgafv)
, _ptlValidateOnly :: !(Maybe Bool)
, _ptlUploadProtocol :: !(Maybe Text)
@@ -87,7 +88,9 @@ data ProjectsTemplatesLaunch = ProjectsTemplatesLaunch'
, _ptlProjectId :: !Text
, _ptlCallback :: !(Maybe Text)
, _ptlDynamicTemplateGcsPath :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsTemplatesLaunch' with the minimum fields required to make a request.
--
@@ -121,7 +124,7 @@ projectsTemplatesLaunch
-> Text -- ^ 'ptlProjectId'
-> ProjectsTemplatesLaunch
projectsTemplatesLaunch pPtlPayload_ pPtlProjectId_ =
- ProjectsTemplatesLaunch'
+ ProjectsTemplatesLaunch'
{ _ptlXgafv = Nothing
, _ptlValidateOnly = Nothing
, _ptlUploadProtocol = Nothing
@@ -136,6 +139,7 @@ projectsTemplatesLaunch pPtlPayload_ pPtlProjectId_ =
, _ptlDynamicTemplateGcsPath = Nothing
}
+
-- | V1 error format.
ptlXgafv :: Lens' ProjectsTemplatesLaunch (Maybe Xgafv)
ptlXgafv = lens _ptlXgafv (\ s a -> s{_ptlXgafv = a})
@@ -153,7 +157,9 @@ ptlUploadProtocol
= lens _ptlUploadProtocol
(\ s a -> s{_ptlUploadProtocol = a})
--- | The location to which to direct the request.
+-- | The [regional endpoint]
+-- (https:\/\/cloud.google.com\/dataflow\/docs\/concepts\/regional-endpoints)
+-- to which to direct the request.
ptlLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text)
ptlLocation
= lens _ptlLocation (\ s a -> s{_ptlLocation = a})