Class: Google::Cloud::Dataproc::V1beta2::Job
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1beta2::Job
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1beta2/jobs.rb
Overview
A Dataproc job resource.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#done ⇒ ::Boolean
readonly
Output only.
-
#driver_control_files_uri ⇒ ::String
readonly
Output only.
-
#driver_output_resource_uri ⇒ ::String
readonly
Output only.
-
#hadoop_job ⇒ ::Google::Cloud::Dataproc::V1beta2::HadoopJob
Optional.
-
#hive_job ⇒ ::Google::Cloud::Dataproc::V1beta2::HiveJob
Optional.
-
#job_uuid ⇒ ::String
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#pig_job ⇒ ::Google::Cloud::Dataproc::V1beta2::PigJob
Optional.
-
#placement ⇒ ::Google::Cloud::Dataproc::V1beta2::JobPlacement
Required.
-
#presto_job ⇒ ::Google::Cloud::Dataproc::V1beta2::PrestoJob
Optional.
-
#pyspark_job ⇒ ::Google::Cloud::Dataproc::V1beta2::PySparkJob
Optional.
-
#reference ⇒ ::Google::Cloud::Dataproc::V1beta2::JobReference
Optional.
-
#scheduling ⇒ ::Google::Cloud::Dataproc::V1beta2::JobScheduling
Optional.
-
#spark_job ⇒ ::Google::Cloud::Dataproc::V1beta2::SparkJob
Optional.
-
#spark_r_job ⇒ ::Google::Cloud::Dataproc::V1beta2::SparkRJob
Optional.
-
#spark_sql_job ⇒ ::Google::Cloud::Dataproc::V1beta2::SparkSqlJob
Optional.
-
#status ⇒ ::Google::Cloud::Dataproc::V1beta2::JobStatus
readonly
Output only.
-
#status_history ⇒ ::Array<::Google::Cloud::Dataproc::V1beta2::JobStatus>
readonly
Output only.
-
#submitted_by ⇒ ::String
readonly
Output only.
-
#yarn_applications ⇒ ::Array<::Google::Cloud::Dataproc::V1beta2::YarnApplication>
readonly
Output only.
Instance Attribute Details
#done ⇒ ::Boolean (readonly)
Returns 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.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#driver_control_files_uri ⇒ ::String (readonly)
Returns 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
.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#driver_output_resource_uri ⇒ ::String (readonly)
Returns Output only. A URI pointing to the location of the stdout of the job's driver program.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#hadoop_job ⇒ ::Google::Cloud::Dataproc::V1beta2::HadoopJob
Returns Optional. Job is a Hadoop job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#hive_job ⇒ ::Google::Cloud::Dataproc::V1beta2::HiveJob
Returns Optional. Job is a Hive job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#job_uuid ⇒ ::String (readonly)
Returns 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.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#pig_job ⇒ ::Google::Cloud::Dataproc::V1beta2::PigJob
Returns Optional. Job is a Pig job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#placement ⇒ ::Google::Cloud::Dataproc::V1beta2::JobPlacement
Returns Required. Job information, including how, when, and where to run the job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#presto_job ⇒ ::Google::Cloud::Dataproc::V1beta2::PrestoJob
Returns Optional. Job is a Presto job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#pyspark_job ⇒ ::Google::Cloud::Dataproc::V1beta2::PySparkJob
Returns Optional. Job is a PySpark job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#reference ⇒ ::Google::Cloud::Dataproc::V1beta2::JobReference
Returns 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
.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#scheduling ⇒ ::Google::Cloud::Dataproc::V1beta2::JobScheduling
Returns Optional. Job scheduling configuration.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#spark_job ⇒ ::Google::Cloud::Dataproc::V1beta2::SparkJob
Returns Optional. Job is a Spark job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#spark_r_job ⇒ ::Google::Cloud::Dataproc::V1beta2::SparkRJob
Returns Optional. Job is a SparkR job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#spark_sql_job ⇒ ::Google::Cloud::Dataproc::V1beta2::SparkSqlJob
Returns Optional. Job is a SparkSql job.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#status ⇒ ::Google::Cloud::Dataproc::V1beta2::JobStatus (readonly)
Returns Output only. The job status. Additional application-specific
status information may be contained in the type_job
and yarn_applications
fields.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#status_history ⇒ ::Array<::Google::Cloud::Dataproc::V1beta2::JobStatus> (readonly)
Returns Output only. The previous job status.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#submitted_by ⇒ ::String (readonly)
Returns Output only. The email address of the user submitting the job. For jobs
submitted on the cluster, the address is username@hostname
.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#yarn_applications ⇒ ::Array<::Google::Cloud::Dataproc::V1beta2::YarnApplication> (readonly)
Returns 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.
759 760 761 762 763 764 765 766 767 768 769 770 771 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 759 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |