Reference documentation and code samples for the Google Cloud Dataproc V1 Client class OrderedJob.
A job executed by the workflow.
Generated from protobuf message google.cloud.dataproc.v1.OrderedJob
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ step_id
string
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 prerequisiteStepIds
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.
↳ hadoop_job
↳ spark_job
↳ pyspark_job
↳ hive_job
↳ pig_job
↳ spark_r_job
↳ spark_sql_job
↳ presto_job
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. 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: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N} -]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N} -]{0,63} No more than 32 labels can be associated with a given job.
↳ scheduling
↳ prerequisite_step_ids
array
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
getStepId
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 prerequisiteStepIds
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.
string
setStepId
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 prerequisiteStepIds
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.
var
string
$this
getHadoopJob
Optional. Job is a Hadoop job.
hasHadoopJob
setHadoopJob
Optional. Job is a Hadoop job.
$this
getSparkJob
Optional. Job is a Spark job.
hasSparkJob
setSparkJob
Optional. Job is a Spark job.
$this
getPysparkJob
Optional. Job is a PySpark job.
hasPysparkJob
setPysparkJob
Optional. Job is a PySpark job.
$this
getHiveJob
Optional. Job is a Hive job.
hasHiveJob
setHiveJob
Optional. Job is a Hive job.
$this
getPigJob
Optional. Job is a Pig job.
hasPigJob
setPigJob
Optional. Job is a Pig job.
$this
getSparkRJob
Optional. Job is a SparkR job.
hasSparkRJob
setSparkRJob
Optional. Job is a SparkR job.
$this
getSparkSqlJob
Optional. Job is a SparkSql job.
hasSparkSqlJob
setSparkSqlJob
Optional. Job is a SparkSql job.
$this
getPrestoJob
Optional. Job is a Presto job.
hasPrestoJob
setPrestoJob
Optional. Job is a Presto job.
$this
getLabels
Optional. 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: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N} -]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N} -]{0,63} No more than 32 labels can be associated with a given job.
setLabels
Optional. 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: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N} -]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N} -]{0,63} No more than 32 labels can be associated with a given job.
$this
getScheduling
Optional. Job scheduling configuration.
hasScheduling
clearScheduling
setScheduling
Optional. Job scheduling configuration.
$this
getPrerequisiteStepIds
Optional. The optional list of prerequisite job step_ids.
If not specified, the job will start at the beginning of workflow.
setPrerequisiteStepIds
Optional. The optional list of prerequisite job step_ids.
If not specified, the job will start at the beginning of workflow.
var
string[]
$this
getJobType
string