diff options
author | BrendanHay <> | 2019-08-23 07:38:00 (GMT) |
---|---|---|
committer | hdiff <hdiff@hdiff.luite.com> | 2019-08-23 07:38:00 (GMT) |
commit | 0af3651629f3e89aa162b41a30b0053fbed90862 (patch) | |
tree | 59ff9350963a013659ac088f4b1e824af3e35805 /gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs | |
parent | 0631d46cd089382f5521238cbe93c6e551d2ee6e (diff) |
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs')
-rw-r--r-- | gen/Network/Google/Resource/Dataflow/Projects/Locations/Templates/Create.hs | 17 |
1 files changed, 12 insertions, 5 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", |