Method: projects.templates.launch

Launch a template.

HTTP request

POST https://dataflow.googleapis.com/v1b3/projects/{projectId}/templates:launch

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
projectId

string

Required. The ID of the Cloud Platform project that the job belongs to.

Query parameters

Parameters
validateOnly

boolean

If true, the request is validated but not actually executed. Defaults to false.

location

string

The location to which to direct the request.

gcsPath

string

Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

Request body

The request body contains an instance of LaunchTemplateParameters.

Response body

If successful, the response body contains an instance of LaunchTemplateResponse.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/compute.readonly
  • https://www.googleapis.com/auth/compute
  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/userinfo.email

For more information, see the Auth Guide.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataflow Documentation