Copyright | (c) 2015-2025 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> Toni Cebrián <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | GHC2021 |
Gogol.Dataflow.Projects.Templates.Launch
Contents
Description
Launches a template. To launch a template, we recommend using projects.locations.templates.launch
with a regional endpoint. Using projects.templates.launch
is not recommended, because jobs launched from the template will always start in us-central1
.
See: Dataflow API Reference for dataflow.projects.templates.launch
.
Synopsis
- type DataflowProjectsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "dynamicTemplate.gcsPath" Text :> (QueryParam "dynamicTemplate.stagingLocation" Text :> (QueryParam "gcsPath" Text :> (QueryParam "location" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "validateOnly" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LaunchTemplateParameters :> Post '[JSON] LaunchTemplateResponse)))))))))))))))
- data DataflowProjectsTemplatesLaunch = DataflowProjectsTemplatesLaunch {
- xgafv :: Maybe Xgafv
- accessToken :: Maybe Text
- callback :: Maybe Text
- dynamicTemplateGcsPath :: Maybe Text
- dynamicTemplateStagingLocation :: Maybe Text
- gcsPath :: Maybe Text
- location :: Maybe Text
- payload :: LaunchTemplateParameters
- projectId :: Text
- uploadType :: Maybe Text
- uploadProtocol :: Maybe Text
- validateOnly :: Maybe Bool
- newDataflowProjectsTemplatesLaunch :: LaunchTemplateParameters -> Text -> DataflowProjectsTemplatesLaunch
Resource
type DataflowProjectsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "dynamicTemplate.gcsPath" Text :> (QueryParam "dynamicTemplate.stagingLocation" Text :> (QueryParam "gcsPath" Text :> (QueryParam "location" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "validateOnly" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LaunchTemplateParameters :> Post '[JSON] LaunchTemplateResponse))))))))))))))) Source #
A resource alias for dataflow.projects.templates.launch
method which the
DataflowProjectsTemplatesLaunch
request conforms to.
Constructing a Request
data DataflowProjectsTemplatesLaunch Source #
Launches a template. To launch a template, we recommend using projects.locations.templates.launch
with a regional endpoint. Using projects.templates.launch
is not recommended, because jobs launched from the template will always start in us-central1
.
See: newDataflowProjectsTemplatesLaunch
smart constructor.
Constructors
DataflowProjectsTemplatesLaunch | |
Fields
|
Instances
newDataflowProjectsTemplatesLaunch Source #
Arguments
:: LaunchTemplateParameters | Multipart request metadata. See |
-> Text | Required. The ID of the Cloud Platform project that the job belongs to. See |
-> DataflowProjectsTemplatesLaunch |
Creates a value of DataflowProjectsTemplatesLaunch
with the minimum fields required to make a request.