Show / Hide Table of Contents

Class Job

A Dataproc job resource.

Inheritance
System.Object
Job
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dataproc.v1beta2.Data
Assembly: Google.Apis.Dataproc.v1beta2.dll
Syntax
public class Job : IDirectResponseSchema

Properties

Done

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.

Declaration
[JsonProperty("done")]
public virtual bool? Done { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

DriverControlFilesUri

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.

Declaration
[JsonProperty("driverControlFilesUri")]
public virtual string DriverControlFilesUri { get; set; }
Property Value
Type Description
System.String

DriverOutputResourceUri

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

Declaration
[JsonProperty("driverOutputResourceUri")]
public virtual string DriverOutputResourceUri { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

HadoopJob

Optional. Job is a Hadoop job.

Declaration
[JsonProperty("hadoopJob")]
public virtual HadoopJob HadoopJob { get; set; }
Property Value
Type Description
HadoopJob

HiveJob

Optional. Job is a Hive job.

Declaration
[JsonProperty("hiveJob")]
public virtual HiveJob HiveJob { get; set; }
Property Value
Type Description
HiveJob

JobUuid

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.

Declaration
[JsonProperty("jobUuid")]
public virtual string JobUuid { get; set; }
Property Value
Type Description
System.String

Labels

Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

PigJob

Optional. Job is a Pig job.

Declaration
[JsonProperty("pigJob")]
public virtual PigJob PigJob { get; set; }
Property Value
Type Description
PigJob

Placement

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

Declaration
[JsonProperty("placement")]
public virtual JobPlacement Placement { get; set; }
Property Value
Type Description
JobPlacement

PrestoJob

Optional. Job is a Presto job.

Declaration
[JsonProperty("prestoJob")]
public virtual PrestoJob PrestoJob { get; set; }
Property Value
Type Description
PrestoJob

PysparkJob

Optional. Job is a PySpark job.

Declaration
[JsonProperty("pysparkJob")]
public virtual PySparkJob PysparkJob { get; set; }
Property Value
Type Description
PySparkJob

Reference

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 job_id.

Declaration
[JsonProperty("reference")]
public virtual JobReference Reference { get; set; }
Property Value
Type Description
JobReference

Scheduling

Optional. Job scheduling configuration.

Declaration
[JsonProperty("scheduling")]
public virtual JobScheduling Scheduling { get; set; }
Property Value
Type Description
JobScheduling

SparkJob

Optional. Job is a Spark job.

Declaration
[JsonProperty("sparkJob")]
public virtual SparkJob SparkJob { get; set; }
Property Value
Type Description
SparkJob

SparkRJob

Optional. Job is a SparkR job.

Declaration
[JsonProperty("sparkRJob")]
public virtual SparkRJob SparkRJob { get; set; }
Property Value
Type Description
SparkRJob

SparkSqlJob

Optional. Job is a SparkSql job.

Declaration
[JsonProperty("sparkSqlJob")]
public virtual SparkSqlJob SparkSqlJob { get; set; }
Property Value
Type Description
SparkSqlJob

Status

Output only. The job status. Additional application-specific status information may be contained in the type_job and yarn_applications fields.

Declaration
[JsonProperty("status")]
public virtual JobStatus Status { get; set; }
Property Value
Type Description
JobStatus

StatusHistory

Output only. The previous job status.

Declaration
[JsonProperty("statusHistory")]
public virtual IList<JobStatus> StatusHistory { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<JobStatus>

SubmittedBy

Output only. The email address of the user submitting the job. For jobs submitted on the cluster, the address is username@hostname.

Declaration
[JsonProperty("submittedBy")]
public virtual string SubmittedBy { get; set; }
Property Value
Type Description
System.String

YarnApplications

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.

Declaration
[JsonProperty("yarnApplications")]
public virtual IList<YarnApplication> YarnApplications { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<YarnApplication>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top