summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates
diff options
context:
space:
mode:
authorBrendanHay <>2019-08-23 07:38:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-08-23 07:38:00 (GMT)
commit0af3651629f3e89aa162b41a30b0053fbed90862 (patch)
tree59ff9350963a013659ac088f4b1e824af3e35805 /gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates
parent0631d46cd089382f5521238cbe93c6e551d2ee6e (diff)
version 0.5.0HEAD0.5.0master
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs17
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Get.hs14
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Launch.hs17
3 files changed, 34 insertions, 14 deletions
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs
index af512ac..8c2aaf5 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs
@@ -67,7 +67,8 @@ type ProjectsLocationsTemplatesCreateResource =
-- | Creates a Cloud Dataflow job from a template.
--
-- /See:/ 'projectsLocationsTemplatesCreate' smart constructor.
-data ProjectsLocationsTemplatesCreate = ProjectsLocationsTemplatesCreate'
+data ProjectsLocationsTemplatesCreate =
+ ProjectsLocationsTemplatesCreate'
{ _pltcXgafv :: !(Maybe Xgafv)
, _pltcUploadProtocol :: !(Maybe Text)
, _pltcLocation :: !Text
@@ -76,7 +77,9 @@ data ProjectsLocationsTemplatesCreate = ProjectsLocationsTemplatesCreate'
, _pltcPayload :: !CreateJobFromTemplateRequest
, _pltcProjectId :: !Text
, _pltcCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsLocationsTemplatesCreate' with the minimum fields required to make a request.
--
@@ -103,7 +106,7 @@ projectsLocationsTemplatesCreate
-> Text -- ^ 'pltcProjectId'
-> ProjectsLocationsTemplatesCreate
projectsLocationsTemplatesCreate pPltcLocation_ pPltcPayload_ pPltcProjectId_ =
- ProjectsLocationsTemplatesCreate'
+ ProjectsLocationsTemplatesCreate'
{ _pltcXgafv = Nothing
, _pltcUploadProtocol = Nothing
, _pltcLocation = pPltcLocation_
@@ -114,6 +117,7 @@ projectsLocationsTemplatesCreate pPltcLocation_ pPltcPayload_ pPltcProjectId_ =
, _pltcCallback = Nothing
}
+
-- | V1 error format.
pltcXgafv :: Lens' ProjectsLocationsTemplatesCreate (Maybe Xgafv)
pltcXgafv
@@ -125,7 +129,9 @@ pltcUploadProtocol
= lens _pltcUploadProtocol
(\ s a -> s{_pltcUploadProtocol = 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.
pltcLocation :: Lens' ProjectsLocationsTemplatesCreate Text
pltcLocation
= lens _pltcLocation (\ s a -> s{_pltcLocation = a})
@@ -159,7 +165,8 @@ pltcCallback
= lens _pltcCallback (\ s a -> s{_pltcCallback = a})
instance GoogleRequest
- ProjectsLocationsTemplatesCreate where
+ ProjectsLocationsTemplatesCreate
+ where
type Rs ProjectsLocationsTemplatesCreate = Job
type Scopes ProjectsLocationsTemplatesCreate =
'["https://www.googleapis.com/auth/cloud-platform",
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Get.hs b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Get.hs
index 620da0f..c73f4fd 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Get.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Get.hs
@@ -69,7 +69,8 @@ type ProjectsLocationsTemplatesGetResource =
-- | Get the template associated with a template.
--
-- /See:/ 'projectsLocationsTemplatesGet' smart constructor.
-data ProjectsLocationsTemplatesGet = ProjectsLocationsTemplatesGet'
+data ProjectsLocationsTemplatesGet =
+ ProjectsLocationsTemplatesGet'
{ _pltgXgafv :: !(Maybe Xgafv)
, _pltgUploadProtocol :: !(Maybe Text)
, _pltgLocation :: !Text
@@ -79,7 +80,9 @@ data ProjectsLocationsTemplatesGet = ProjectsLocationsTemplatesGet'
, _pltgView :: !(Maybe Text)
, _pltgProjectId :: !Text
, _pltgCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsLocationsTemplatesGet' with the minimum fields required to make a request.
--
@@ -107,7 +110,7 @@ projectsLocationsTemplatesGet
-> Text -- ^ 'pltgProjectId'
-> ProjectsLocationsTemplatesGet
projectsLocationsTemplatesGet pPltgLocation_ pPltgProjectId_ =
- ProjectsLocationsTemplatesGet'
+ ProjectsLocationsTemplatesGet'
{ _pltgXgafv = Nothing
, _pltgUploadProtocol = Nothing
, _pltgLocation = pPltgLocation_
@@ -119,6 +122,7 @@ projectsLocationsTemplatesGet pPltgLocation_ pPltgProjectId_ =
, _pltgCallback = Nothing
}
+
-- | V1 error format.
pltgXgafv :: Lens' ProjectsLocationsTemplatesGet (Maybe Xgafv)
pltgXgafv
@@ -130,7 +134,9 @@ pltgUploadProtocol
= lens _pltgUploadProtocol
(\ s a -> s{_pltgUploadProtocol = 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.
pltgLocation :: Lens' ProjectsLocationsTemplatesGet Text
pltgLocation
= lens _pltgLocation (\ s a -> s{_pltgLocation = a})
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Launch.hs b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Launch.hs
index 4958cc6..b37e8bc 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Launch.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Launch.hs
@@ -75,7 +75,8 @@ type ProjectsLocationsTemplatesLaunchResource =
-- | Launch a template.
--
-- /See:/ 'projectsLocationsTemplatesLaunch' smart constructor.
-data ProjectsLocationsTemplatesLaunch = ProjectsLocationsTemplatesLaunch'
+data ProjectsLocationsTemplatesLaunch =
+ ProjectsLocationsTemplatesLaunch'
{ _pltlXgafv :: !(Maybe Xgafv)
, _pltlValidateOnly :: !(Maybe Bool)
, _pltlUploadProtocol :: !(Maybe Text)
@@ -88,7 +89,9 @@ data ProjectsLocationsTemplatesLaunch = ProjectsLocationsTemplatesLaunch'
, _pltlProjectId :: !Text
, _pltlCallback :: !(Maybe Text)
, _pltlDynamicTemplateGcsPath :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsLocationsTemplatesLaunch' with the minimum fields required to make a request.
--
@@ -123,7 +126,7 @@ projectsLocationsTemplatesLaunch
-> Text -- ^ 'pltlProjectId'
-> ProjectsLocationsTemplatesLaunch
projectsLocationsTemplatesLaunch pPltlLocation_ pPltlPayload_ pPltlProjectId_ =
- ProjectsLocationsTemplatesLaunch'
+ ProjectsLocationsTemplatesLaunch'
{ _pltlXgafv = Nothing
, _pltlValidateOnly = Nothing
, _pltlUploadProtocol = Nothing
@@ -138,6 +141,7 @@ projectsLocationsTemplatesLaunch pPltlLocation_ pPltlPayload_ pPltlProjectId_ =
, _pltlDynamicTemplateGcsPath = Nothing
}
+
-- | V1 error format.
pltlXgafv :: Lens' ProjectsLocationsTemplatesLaunch (Maybe Xgafv)
pltlXgafv
@@ -156,7 +160,9 @@ pltlUploadProtocol
= lens _pltlUploadProtocol
(\ s a -> s{_pltlUploadProtocol = 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.
pltlLocation :: Lens' ProjectsLocationsTemplatesLaunch Text
pltlLocation
= lens _pltlLocation (\ s a -> s{_pltlLocation = a})
@@ -210,7 +216,8 @@ pltlDynamicTemplateGcsPath
(\ s a -> s{_pltlDynamicTemplateGcsPath = a})
instance GoogleRequest
- ProjectsLocationsTemplatesLaunch where
+ ProjectsLocationsTemplatesLaunch
+ where
type Rs ProjectsLocationsTemplatesLaunch =
LaunchTemplateResponse
type Scopes ProjectsLocationsTemplatesLaunch =