Launch a template.
Arguments
projectId
string
Required. The ID of the Cloud Platform project that the job belongs to.
dynamicTemplate.gcsPath
string
Path to dynamic template spec file on Cloud Storage. The file must be a Json serialized DynamicTemplateFieSpec object.
dynamicTemplate.stagingLocation
string
Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://
.
gcsPath
string
A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
location
string
The regional endpoint to which to direct the request.
validateOnly
boolean
If true, the request is validated but not actually executed. Defaults to false.
body
object ( LaunchTemplateParameters
)
Required.
Raised exceptions
ConnectionError
HttpError
TimeoutError
TypeError
ValueError
Response
If successful, the response contains an instance of LaunchTemplateResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation .
YAML
- launch : call : googleapis.dataflow.v1b3.projects.templates.launch args : projectId : ... dynamicTemplate : gcsPath : ... stagingLocation : ... gcsPath : ... location : ... validateOnly : ... body : environment : additionalExperiments : ... additionalUserLabels : ... bypassTempDirValidation : ... enableStreamingEngine : ... ipConfiguration : ... kmsKeyName : ... machineType : ... maxWorkers : ... network : ... numWorkers : ... serviceAccountEmail : ... subnetwork : ... tempLocation : ... workerRegion : ... workerZone : ... zone : ... jobName : ... parameters : ... transformNameMapping : ... update : ... result : launchResult
JSON
[ { "launch" : { "call" : "googleapis.dataflow.v1b3.projects.templates.launch" , "args" : { "projectId" : "..." , "dynamicTemplate" : { "gcsPath" : "..." , "stagingLocation" : "..." }, "gcsPath" : "..." , "location" : "..." , "validateOnly" : "..." , "body" : { "environment" : { "additionalExperiments" : "..." , "additionalUserLabels" : "..." , "bypassTempDirValidation" : "..." , "enableStreamingEngine" : "..." , "ipConfiguration" : "..." , "kmsKeyName" : "..." , "machineType" : "..." , "maxWorkers" : "..." , "network" : "..." , "numWorkers" : "..." , "serviceAccountEmail" : "..." , "subnetwork" : "..." , "tempLocation" : "..." , "workerRegion" : "..." , "workerZone" : "..." , "zone" : "..." }, "jobName" : "..." , "parameters" : "..." , "transformNameMapping" : "..." , "update" : "..." } }, "result" : "launchResult" } } ]

