Class Job (3.3.0)

public sealed class Job : IMessage<Job>, IEquatable<Job>, IDeepCloneable<Job>, IBufferMessage, IMessage

A Dataproc job resource.

Inheritance

Object > Job

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

Job()

public Job()

Job(Job)

public Job(Job other)
Parameter
NameDescription
otherJob

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.

Property Value
TypeDescription
Boolean

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.

Property Value
TypeDescription
String

DriverOutputResourceUri

public string DriverOutputResourceUri { get; set; }

Output only. A URI pointing to the location of the stdout of the job's driver program.

Property Value
TypeDescription
String

HadoopJob

public HadoopJob HadoopJob { get; set; }

Optional. Job is a Hadoop job.

Property Value
TypeDescription
HadoopJob

HiveJob

public HiveJob HiveJob { get; set; }

Optional. Job is a Hive job.

Property Value
TypeDescription
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.

Property Value
TypeDescription
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.

Property Value
TypeDescription
MapField<String, String>

PigJob

public PigJob PigJob { get; set; }

Optional. Job is a Pig job.

Property Value
TypeDescription
PigJob

Placement

public JobPlacement Placement { get; set; }

Required. Job information, including how, when, and where to run the job.

Property Value
TypeDescription
JobPlacement

PrestoJob

public PrestoJob PrestoJob { get; set; }

Optional. Job is a Presto job.

Property Value
TypeDescription
PrestoJob

PysparkJob

public PySparkJob PysparkJob { get; set; }

Optional. Job is a PySpark job.

Property Value
TypeDescription
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>.

Property Value
TypeDescription
JobReference

Scheduling

public JobScheduling Scheduling { get; set; }

Optional. Job scheduling configuration.

Property Value
TypeDescription
JobScheduling

SparkJob

public SparkJob SparkJob { get; set; }

Optional. Job is a Spark job.

Property Value
TypeDescription
SparkJob

SparkRJob

public SparkRJob SparkRJob { get; set; }

Optional. Job is a SparkR job.

Property Value
TypeDescription
SparkRJob

SparkSqlJob

public SparkSqlJob SparkSqlJob { get; set; }

Optional. Job is a SparkSql job.

Property Value
TypeDescription
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.

Property Value
TypeDescription
JobStatus

StatusHistory

public RepeatedField<JobStatus> StatusHistory { get; }

Output only. The previous job status.

Property Value
TypeDescription
RepeatedField<JobStatus>

TypeJobCase

public Job.TypeJobOneofCase TypeJobCase { get; }
Property Value
TypeDescription
Job.TypeJobOneofCase

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.

Property Value
TypeDescription
RepeatedField<YarnApplication>