WorkflowTemplateJob constructor

const WorkflowTemplateJob({
  1. Input<WorkflowTemplateJobHadoopJob?>? hadoopJob,
  2. Input<WorkflowTemplateJobHiveJob?>? hiveJob,
  3. Input<Map<String, String>?>? labels,
  4. Input<WorkflowTemplateJobPigJob?>? pigJob,
  5. Input<List<String>?>? prerequisiteStepIds,
  6. Input<WorkflowTemplateJobPrestoJob?>? prestoJob,
  7. Input<WorkflowTemplateJobPysparkJob?>? pysparkJob,
  8. Input<WorkflowTemplateJobScheduling?>? scheduling,
  9. Input<WorkflowTemplateJobSparkJob?>? sparkJob,
  10. Input<WorkflowTemplateJobSparkRJob?>? sparkRJob,
  11. Input<WorkflowTemplateJobSparkSqlJob?>? sparkSqlJob,
  12. required Input<String> stepId,
})

Creates a new WorkflowTemplateJob. hadoopJob Job is a Hadoop job. hiveJob Job is a Hive job. labels The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: {0,63} No more than 32 labels can be associated with a given job. pigJob Job is a Pig job. prerequisiteStepIds The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow. prestoJob Job is a Presto job. pysparkJob Job is a PySpark job. scheduling Job scheduling configuration. sparkJob Job is a Spark job. sparkRJob Job is a SparkR job. sparkSqlJob Job is a SparkSql job. stepId Required. The step id. The id must be unique among all jobs within the template. The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in field from other steps. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.

Implementation

const WorkflowTemplateJob({
  this.hadoopJob,
  this.hiveJob,
  this.labels,
  this.pigJob,
  this.prerequisiteStepIds,
  this.prestoJob,
  this.pysparkJob,
  this.scheduling,
  this.sparkJob,
  this.sparkRJob,
  this.sparkSqlJob,
  required this.stepId,
});