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.
4693 4694 4695 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_jobs ⇒ Fixnum
Number of active jobs
Corresponds to the JSON property activeJobs
4666 4667 4668 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4666 def active_jobs @active_jobs end |
#application_id ⇒ String
Spark Application Id
Corresponds to the JSON property applicationId
4671 4672 4673 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4671 def application_id @application_id end |
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Attempts info
Corresponds to the JSON property attempts
4676 4677 4678 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4676 def attempts @attempts end |
#completed_jobs ⇒ Fixnum
Number of completed jobs
Corresponds to the JSON property completedJobs
4681 4682 4683 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4681 def completed_jobs @completed_jobs end |
#failed_jobs ⇒ Fixnum
Number of failed jobs
Corresponds to the JSON property failedJobs
4686 4687 4688 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4686 def failed_jobs @failed_jobs end |
#scheduling_mode ⇒ String
Spark Scheduling mode
Corresponds to the JSON property schedulingMode
4691 4692 4693 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4691 def scheduling_mode @scheduling_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4698 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 |