launch
public Dataflow.Projects.Locations.FlexTemplates.Launch launch(String projectId,
String location,
LaunchFlexTemplateRequest content)
throws IOException
Launch a job with a FlexTemplate. # IAM Permissions Requires the following IAM permission(s) on
the resource: - `dataflow.jobs.create` - `resourcemanager.projects.get` -
`iam.serviceAccounts.actAs` - `storage.buckets.get` - `storage.buckets.create` (Required if the
default staging bucket must be created)
Create a request for the method "flexTemplates.launch".
This request holds the parameters needed by the dataflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
projectId - Required. The ID of the Cloud Platform project that the job belongs to.
location - Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) to which to direct the request. E.g., us-central1, us-west1.
content - the LaunchFlexTemplateRequest
- Returns:
- the request
- Throws:
IOException