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
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
Job()
public Job()
Job(Job)
public Job(Job other)
Parameter | |
---|---|
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.
Property Value | |
---|---|
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
.
Property Value | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
string |
DriverSchedulingConfig
public DriverSchedulingConfig DriverSchedulingConfig { get; set; }
Optional. Driver scheduling configuration.
Property Value | |
---|---|
Type | Description |
DriverSchedulingConfig |
HadoopJob
public HadoopJob HadoopJob { get; set; }
Optional. Job is a Hadoop job.
Property Value | |
---|---|
Type | Description |
HadoopJob |
HiveJob
public HiveJob HiveJob { get; set; }
Optional. Job is a Hive job.
Property Value | |
---|---|
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.
Property Value | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
PigJob
public PigJob PigJob { get; set; }
Optional. Job is a Pig job.
Property Value | |
---|---|
Type | Description |
PigJob |
Placement
public JobPlacement Placement { get; set; }
Required. Job information, including how, when, and where to run the job.
Property Value | |
---|---|
Type | Description |
JobPlacement |
PrestoJob
public PrestoJob PrestoJob { get; set; }
Optional. Job is a Presto job.
Property Value | |
---|---|
Type | Description |
PrestoJob |
PysparkJob
public PySparkJob PysparkJob { get; set; }
Optional. Job is a PySpark job.
Property Value | |
---|---|
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>.
Property Value | |
---|---|
Type | Description |
JobReference |
Scheduling
public JobScheduling Scheduling { get; set; }
Optional. Job scheduling configuration.
Property Value | |
---|---|
Type | Description |
JobScheduling |
SparkJob
public SparkJob SparkJob { get; set; }
Optional. Job is a Spark job.
Property Value | |
---|---|
Type | Description |
SparkJob |
SparkRJob
public SparkRJob SparkRJob { get; set; }
Optional. Job is a SparkR job.
Property Value | |
---|---|
Type | Description |
SparkRJob |
SparkSqlJob
public SparkSqlJob SparkSqlJob { get; set; }
Optional. Job is a SparkSql job.
Property Value | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
JobStatus |
StatusHistory
public RepeatedField<JobStatus> StatusHistory { get; }
Output only. The previous job status.
Property Value | |
---|---|
Type | Description |
RepeatedFieldJobStatus |
TrinoJob
public TrinoJob TrinoJob { get; set; }
Optional. Job is a Trino job.
Property Value | |
---|---|
Type | Description |
TrinoJob |
TypeJobCase
public Job.TypeJobOneofCase TypeJobCase { get; }
Property Value | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldYarnApplication |