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.
4600 4601 4602 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_jobs ⇒ Fixnum
Number of active jobs
Corresponds to the JSON property activeJobs
4573 4574 4575 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4573 def active_jobs @active_jobs end |
#application_id ⇒ String
Spark Application Id
Corresponds to the JSON property applicationId
4578 4579 4580 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4578 def application_id @application_id end |
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Attempts info
Corresponds to the JSON property attempts
4583 4584 4585 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4583 def attempts @attempts end |
#completed_jobs ⇒ Fixnum
Number of completed jobs
Corresponds to the JSON property completedJobs
4588 4589 4590 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4588 def completed_jobs @completed_jobs end |
#failed_jobs ⇒ Fixnum
Number of failed jobs
Corresponds to the JSON property failedJobs
4593 4594 4595 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4593 def failed_jobs @failed_jobs end |
#scheduling_mode ⇒ String
Spark Scheduling mode
Corresponds to the JSON property schedulingMode
4598 4599 4600 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4598 def scheduling_mode @scheduling_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4605 4606 4607 4608 4609 4610 4611 4612 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4605 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 |