summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs
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/Templates/Create.hs
parent0631d46cd089382f5521238cbe93c6e551d2ee6e (diff)
version 0.5.0HEAD0.5.0master
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Templates/Create.hs10
1 files changed, 7 insertions, 3 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})