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.
9886 9887 9888 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9886 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
Corresponds to the JSON property applicationId
9844 9845 9846 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9844 def application_id @application_id end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
9849 9850 9851 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9849 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
9854 9855 9856 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9854 def num_killed_tasks @num_killed_tasks end |
#num_pending_tasks ⇒ Fixnum
Corresponds to the JSON property numPendingTasks
9859 9860 9861 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9859 def num_pending_tasks @num_pending_tasks end |
#num_running_tasks ⇒ Fixnum
Corresponds to the JSON property numRunningTasks
9864 9865 9866 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9864 def num_running_tasks @num_running_tasks end |
#num_success_tasks ⇒ Fixnum
Corresponds to the JSON property numSuccessTasks
9869 9870 9871 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9869 def num_success_tasks @num_success_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
9874 9875 9876 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9874 def num_tasks @num_tasks end |
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property stageAttemptId
9879 9880 9881 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9879 def stage_attempt_id @stage_attempt_id end |
#stage_id ⇒ Fixnum
Corresponds to the JSON property stageId
9884 9885 9886 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9884 def stage_id @stage_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9891 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 |