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.
10127 10128 10129 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
Corresponds to the JSON property applicationId
10085 10086 10087 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10085 def application_id @application_id end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
10090 10091 10092 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10090 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
10095 10096 10097 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10095 def num_killed_tasks @num_killed_tasks end |
#num_pending_tasks ⇒ Fixnum
Corresponds to the JSON property numPendingTasks
10100 10101 10102 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10100 def num_pending_tasks @num_pending_tasks end |
#num_running_tasks ⇒ Fixnum
Corresponds to the JSON property numRunningTasks
10105 10106 10107 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10105 def num_running_tasks @num_running_tasks end |
#num_success_tasks ⇒ Fixnum
Corresponds to the JSON property numSuccessTasks
10110 10111 10112 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10110 def num_success_tasks @num_success_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
10115 10116 10117 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10115 def num_tasks @num_tasks end |
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property stageAttemptId
10120 10121 10122 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10120 def stage_attempt_id @stage_attempt_id end |
#stage_id ⇒ Fixnum
Corresponds to the JSON property stageId
10125 10126 10127 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10125 def stage_id @stage_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10132 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 |