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.
4715 4716 4717 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_jobs ⇒ Fixnum
Number of active jobs
Corresponds to the JSON property activeJobs
4688 4689 4690 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4688 def active_jobs @active_jobs end |
#application_id ⇒ String
Spark Application Id
Corresponds to the JSON property applicationId
4693 4694 4695 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4693 def application_id @application_id end |
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Attempts info
Corresponds to the JSON property attempts
4698 4699 4700 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4698 def attempts @attempts end |
#completed_jobs ⇒ Fixnum
Number of completed jobs
Corresponds to the JSON property completedJobs
4703 4704 4705 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4703 def completed_jobs @completed_jobs end |
#failed_jobs ⇒ Fixnum
Number of failed jobs
Corresponds to the JSON property failedJobs
4708 4709 4710 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4708 def failed_jobs @failed_jobs end |
#scheduling_mode ⇒ String
Spark Scheduling mode
Corresponds to the JSON property schedulingMode
4713 4714 4715 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4713 def scheduling_mode @scheduling_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4720 4721 4722 4723 4724 4725 4726 4727 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4720 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 |