Class: Google::Apis::DataflowV1b3::StragglerSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StragglerSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Summarized straggler identification details.
Instance Attribute Summary collapse
-
#recent_stragglers ⇒ Array<Google::Apis::DataflowV1b3::Straggler>
The most recent stragglers.
-
#straggler_cause_count ⇒ Hash<String,Fixnum>
Aggregated counts of straggler causes, keyed by the string representation of the StragglerCause enum.
-
#total_straggler_count ⇒ Fixnum
The total count of stragglers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StragglerSummary
constructor
A new instance of StragglerSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StragglerSummary
Returns a new instance of StragglerSummary.
5406 5407 5408 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recent_stragglers ⇒ Array<Google::Apis::DataflowV1b3::Straggler>
The most recent stragglers.
Corresponds to the JSON property recentStragglers
5393 5394 5395 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5393 def recent_stragglers @recent_stragglers end |
#straggler_cause_count ⇒ Hash<String,Fixnum>
Aggregated counts of straggler causes, keyed by the string representation of
the StragglerCause enum.
Corresponds to the JSON property stragglerCauseCount
5399 5400 5401 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5399 def straggler_cause_count @straggler_cause_count end |
#total_straggler_count ⇒ Fixnum
The total count of stragglers.
Corresponds to the JSON property totalStragglerCount
5404 5405 5406 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5404 def total_straggler_count @total_straggler_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5411 5412 5413 5414 5415 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5411 def update!(**args) @recent_stragglers = args[:recent_stragglers] if args.key?(:recent_stragglers) @straggler_cause_count = args[:straggler_cause_count] if args.key?(:straggler_cause_count) @total_straggler_count = args[:total_straggler_count] if args.key?(:total_straggler_count) end |