Class: Google::Apis::DataprocV1::StageAttemptTasksSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::StageAttemptTasksSummary
- 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 tasks summary for a Spark Stage Attempt
Instance Attribute Summary collapse
-
#application_id ⇒ String
Corresponds to the JSON property
applicationId. -
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property
numFailedTasks. -
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property
numKilledTasks. -
#num_pending_tasks ⇒ Fixnum
Corresponds to the JSON property
numPendingTasks. -
#num_running_tasks ⇒ Fixnum
Corresponds to the JSON property
numRunningTasks. -
#num_success_tasks ⇒ Fixnum
Corresponds to the JSON property
numSuccessTasks. -
#num_tasks ⇒ Fixnum
Corresponds to the JSON property
numTasks. -
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property
stageAttemptId. -
#stage_id ⇒ Fixnum
Corresponds to the JSON property
stageId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StageAttemptTasksSummary
constructor
A new instance of StageAttemptTasksSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StageAttemptTasksSummary
Returns a new instance of StageAttemptTasksSummary.
9568 9569 9570 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
Corresponds to the JSON property applicationId
9526 9527 9528 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9526 def application_id @application_id end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
9531 9532 9533 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9531 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
9536 9537 9538 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9536 def num_killed_tasks @num_killed_tasks end |
#num_pending_tasks ⇒ Fixnum
Corresponds to the JSON property numPendingTasks
9541 9542 9543 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9541 def num_pending_tasks @num_pending_tasks end |
#num_running_tasks ⇒ Fixnum
Corresponds to the JSON property numRunningTasks
9546 9547 9548 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9546 def num_running_tasks @num_running_tasks end |
#num_success_tasks ⇒ Fixnum
Corresponds to the JSON property numSuccessTasks
9551 9552 9553 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9551 def num_success_tasks @num_success_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
9556 9557 9558 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9556 def num_tasks @num_tasks end |
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property stageAttemptId
9561 9562 9563 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9561 def stage_attempt_id @stage_attempt_id end |
#stage_id ⇒ Fixnum
Corresponds to the JSON property stageId
9566 9567 9568 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9566 def stage_id @stage_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9573 def update!(**args) @application_id = args[:application_id] if args.key?(:application_id) @num_failed_tasks = args[:num_failed_tasks] if args.key?(:num_failed_tasks) @num_killed_tasks = args[:num_killed_tasks] if args.key?(:num_killed_tasks) @num_pending_tasks = args[:num_pending_tasks] if args.key?(:num_pending_tasks) @num_running_tasks = args[:num_running_tasks] if args.key?(:num_running_tasks) @num_success_tasks = args[:num_success_tasks] if args.key?(:num_success_tasks) @num_tasks = args[:num_tasks] if args.key?(:num_tasks) @stage_attempt_id = args[:stage_attempt_id] if args.key?(:stage_attempt_id) @stage_id = args[:stage_id] if args.key?(:stage_id) end |