Class: Google::Apis::DataprocV1::JobsSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::JobsSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Data related to Jobs page summary
Instance Attribute Summary collapse
-
#active_jobs ⇒ Fixnum
Number of active jobs Corresponds to the JSON property
activeJobs. -
#application_id ⇒ String
Spark Application Id Corresponds to the JSON property
applicationId. -
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Attempts info Corresponds to the JSON property
attempts. -
#completed_jobs ⇒ Fixnum
Number of completed jobs Corresponds to the JSON property
completedJobs. -
#failed_jobs ⇒ Fixnum
Number of failed jobs Corresponds to the JSON property
failedJobs. -
#scheduling_mode ⇒ String
Spark Scheduling mode Corresponds to the JSON property
schedulingMode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobsSummary
constructor
A new instance of JobsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobsSummary
Returns a new instance of JobsSummary.
4457 4458 4459 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_jobs ⇒ Fixnum
Number of active jobs
Corresponds to the JSON property activeJobs
4430 4431 4432 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4430 def active_jobs @active_jobs end |
#application_id ⇒ String
Spark Application Id
Corresponds to the JSON property applicationId
4435 4436 4437 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4435 def application_id @application_id end |
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Attempts info
Corresponds to the JSON property attempts
4440 4441 4442 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4440 def attempts @attempts end |
#completed_jobs ⇒ Fixnum
Number of completed jobs
Corresponds to the JSON property completedJobs
4445 4446 4447 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4445 def completed_jobs @completed_jobs end |
#failed_jobs ⇒ Fixnum
Number of failed jobs
Corresponds to the JSON property failedJobs
4450 4451 4452 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4450 def failed_jobs @failed_jobs end |
#scheduling_mode ⇒ String
Spark Scheduling mode
Corresponds to the JSON property schedulingMode
4455 4456 4457 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4455 def scheduling_mode @scheduling_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4462 4463 4464 4465 4466 4467 4468 4469 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4462 def update!(**args) @active_jobs = args[:active_jobs] if args.key?(:active_jobs) @application_id = args[:application_id] if args.key?(:application_id) @attempts = args[:attempts] if args.key?(:attempts) @completed_jobs = args[:completed_jobs] if args.key?(:completed_jobs) @failed_jobs = args[:failed_jobs] if args.key?(:failed_jobs) @scheduling_mode = args[:scheduling_mode] if args.key?(:scheduling_mode) end |