summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Templates
diff options
context:
space:
mode:
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Templates')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs10
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Templates/Get.hs14
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Templates/Launch.hs14
3 files changed, 27 insertions, 11 deletions
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs b/gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs
index f0309c9..89ea9ba 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs
@@ -64,7 +64,8 @@ type ProjectsTemplatesCreateResource =
-- | Creates a Cloud Dataflow job from a template.
--
-- /See:/ 'projectsTemplatesCreate' smart constructor.
-data ProjectsTemplatesCreate = ProjectsTemplatesCreate'
+data ProjectsTemplatesCreate =
+ ProjectsTemplatesCreate'
{ _ptcXgafv :: !(Maybe Xgafv)
, _ptcUploadProtocol :: !(Maybe Text)
, _ptcAccessToken :: !(Maybe Text)
@@ -72,7 +73,9 @@ data ProjectsTemplatesCreate = ProjectsTemplatesCreate'
, _ptcPayload :: !CreateJobFromTemplateRequest
, _ptcProjectId :: !Text
, _ptcCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsTemplatesCreate' with the minimum fields required to make a request.
--
@@ -96,7 +99,7 @@ projectsTemplatesCreate
-> Text -- ^ 'ptcProjectId'
-> ProjectsTemplatesCreate
projectsTemplatesCreate pPtcPayload_ pPtcProjectId_ =
- ProjectsTemplatesCreate'
+ ProjectsTemplatesCreate'
{ _ptcXgafv = Nothing
, _ptcUploadProtocol = Nothing
, _ptcAccessToken = Nothing
@@ -106,6 +109,7 @@ projectsTemplatesCreate pPtcPayload_ pPtcProjectId_ =
, _ptcCallback = Nothing
}
+
-- | V1 error format.
ptcXgafv :: Lens' ProjectsTemplatesCreate (Maybe Xgafv)
ptcXgafv = lens _ptcXgafv (\ s a -> s{_ptcXgafv = a})
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Templates/Get.hs b/gen/Network/Google/Resource/Dataflow/Projects/Templates/Get.hs
index 071ce1b..2940048 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Templates/Get.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Templates/Get.hs
@@ -68,7 +68,8 @@ type ProjectsTemplatesGetResource =
-- | Get the template associated with a template.
--
-- /See:/ 'projectsTemplatesGet' smart constructor.
-data ProjectsTemplatesGet = ProjectsTemplatesGet'
+data ProjectsTemplatesGet =
+ ProjectsTemplatesGet'
{ _ptgXgafv :: !(Maybe Xgafv)
, _ptgUploadProtocol :: !(Maybe Text)
, _ptgLocation :: !(Maybe Text)
@@ -78,7 +79,9 @@ data ProjectsTemplatesGet = ProjectsTemplatesGet'
, _ptgView :: !(Maybe Text)
, _ptgProjectId :: !Text
, _ptgCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsTemplatesGet' with the minimum fields required to make a request.
--
@@ -105,7 +108,7 @@ projectsTemplatesGet
:: Text -- ^ 'ptgProjectId'
-> ProjectsTemplatesGet
projectsTemplatesGet pPtgProjectId_ =
- ProjectsTemplatesGet'
+ ProjectsTemplatesGet'
{ _ptgXgafv = Nothing
, _ptgUploadProtocol = Nothing
, _ptgLocation = Nothing
@@ -117,6 +120,7 @@ projectsTemplatesGet pPtgProjectId_ =
, _ptgCallback = Nothing
}
+
-- | V1 error format.
ptgXgafv :: Lens' ProjectsTemplatesGet (Maybe Xgafv)
ptgXgafv = lens _ptgXgafv (\ s a -> s{_ptgXgafv = a})
@@ -127,7 +131,9 @@ ptgUploadProtocol
= lens _ptgUploadProtocol
(\ s a -> s{_ptgUploadProtocol = 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.
ptgLocation :: Lens' ProjectsTemplatesGet (Maybe Text)
ptgLocation
= lens _ptgLocation (\ s a -> s{_ptgLocation = a})
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})