public sealed class Job : IMessage<Job>, IEquatable<Job>, IDeepCloneable<Job>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class Job.
A Dataproc job resource.
Namespace
GoogleCloudGoogle.Cloud.DataprocV1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
Job()
public Job()
Job(Job)
public Job(Job other)
Name | Description |
other | Job |
Properties
Done
public bool Done { get; set; }
Output only. Indicates whether the job is completed. If the value is
false
, the job is still in progress. If true
, the job is completed, and
status.state
field will indicate if it was successful, failed,
or cancelled.
Type | Description |
bool |
DriverControlFilesUri
public string DriverControlFilesUri { get; set; }
Output only. If present, the location of miscellaneous control files
which may be used as part of job setup and handling. If not present,
control files may be placed in the same location as driver_output_uri
.
Type | Description |
string |
DriverOutputResourceUri
public string DriverOutputResourceUri { get; set; }
Output only. A URI pointing to the location of the stdout of the job's driver program.
Type | Description |
string |
DriverSchedulingConfig
public DriverSchedulingConfig DriverSchedulingConfig { get; set; }
Optional. Driver scheduling configuration.
Type | Description |
DriverSchedulingConfig |
HadoopJob
public HadoopJob HadoopJob { get; set; }
Optional. Job is a Hadoop job.
Type | Description |
HadoopJob |
HiveJob
public HiveJob HiveJob { get; set; }
Optional. Job is a Hive job.
Type | Description |
HiveJob |
JobUuid
public string JobUuid { get; set; }
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a job.
Type | Description |
MapFieldstringstring |
PigJob
public PigJob PigJob { get; set; }
Optional. Job is a Pig job.
Type | Description |
PigJob |
Placement
public JobPlacement Placement { get; set; }
Required. Job information, including how, when, and where to run the job.
Type | Description |
JobPlacement |
PrestoJob
public PrestoJob PrestoJob { get; set; }
Optional. Job is a Presto job.
Type | Description |
PrestoJob |
PysparkJob
public PySparkJob PysparkJob { get; set; }
Optional. Job is a PySpark job.
Type | Description |
PySparkJob |
Reference
public JobReference Reference { get; set; }
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
Type | Description |
JobReference |
Scheduling
public JobScheduling Scheduling { get; set; }
Optional. Job scheduling configuration.
Type | Description |
JobScheduling |
SparkJob
public SparkJob SparkJob { get; set; }
Optional. Job is a Spark job.
Type | Description |
SparkJob |
SparkRJob
public SparkRJob SparkRJob { get; set; }
Optional. Job is a SparkR job.
Type | Description |
SparkRJob |
SparkSqlJob
public SparkSqlJob SparkSqlJob { get; set; }
Optional. Job is a SparkSql job.
Type | Description |
SparkSqlJob |
Status
public JobStatus Status { get; set; }
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
Type | Description |
JobStatus |
StatusHistory
public RepeatedField<JobStatus> StatusHistory { get; }
Output only. The previous job status.
Type | Description |
RepeatedFieldJobStatus |
TrinoJob
public TrinoJob TrinoJob { get; set; }
Optional. Job is a Trino job.
Type | Description |
TrinoJob |
TypeJobCase
public Job.TypeJobOneofCase TypeJobCase { get; }
Type | Description |
JobTypeJobOneofCase |
YarnApplications
public RepeatedField<YarnApplication> YarnApplications { get; }
Output only. The collection of YARN applications spun up by this job.
Beta Feature: This report is available for testing purposes only. It may be changed before final release.
Type | Description |
RepeatedFieldYarnApplication |