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.
9267 9268 9269 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
Corresponds to the JSON property applicationId
9225 9226 9227 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9225 def application_id @application_id end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
9230 9231 9232 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9230 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
9235 9236 9237 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9235 def num_killed_tasks @num_killed_tasks end |
#num_pending_tasks ⇒ Fixnum
Corresponds to the JSON property numPendingTasks
9240 9241 9242 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9240 def num_pending_tasks @num_pending_tasks end |
#num_running_tasks ⇒ Fixnum
Corresponds to the JSON property numRunningTasks
9245 9246 9247 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9245 def num_running_tasks @num_running_tasks end |
#num_success_tasks ⇒ Fixnum
Corresponds to the JSON property numSuccessTasks
9250 9251 9252 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9250 def num_success_tasks @num_success_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
9255 9256 9257 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9255 def num_tasks @num_tasks end |
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property stageAttemptId
9260 9261 9262 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9260 def stage_attempt_id @stage_attempt_id end |
#stage_id ⇒ Fixnum
Corresponds to the JSON property stageId
9265 9266 9267 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9265 def stage_id @stage_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9272 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 |