Class: Google::Apis::DataprocV1::SpeculationStageSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SpeculationStageSummary
- 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
Details of the speculation task when speculative execution is enabled.
Instance Attribute Summary collapse
-
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property
numActiveTasks. -
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property
numCompletedTasks. -
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property
numFailedTasks. -
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property
numKilledTasks. -
#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) ⇒ SpeculationStageSummary
constructor
A new instance of SpeculationStageSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpeculationStageSummary
Returns a new instance of SpeculationStageSummary.
9073 9074 9075 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9073 def initialize(**args) update!(**args) end |
Instance Attribute Details
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property numActiveTasks
9041 9042 9043 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9041 def num_active_tasks @num_active_tasks end |
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property numCompletedTasks
9046 9047 9048 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9046 def num_completed_tasks @num_completed_tasks end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
9051 9052 9053 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9051 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
9056 9057 9058 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9056 def num_killed_tasks @num_killed_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
9061 9062 9063 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9061 def num_tasks @num_tasks end |
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property stageAttemptId
9066 9067 9068 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9066 def stage_attempt_id @stage_attempt_id end |
#stage_id ⇒ Fixnum
Corresponds to the JSON property stageId
9071 9072 9073 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9071 def stage_id @stage_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9078 9079 9080 9081 9082 9083 9084 9085 9086 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9078 def update!(**args) @num_active_tasks = args[:num_active_tasks] if args.key?(:num_active_tasks) @num_completed_tasks = args[:num_completed_tasks] if args.key?(:num_completed_tasks) @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_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 |