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.
5915 5916 5917 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5915 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
5902 5903 5904 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5902 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
5908 5909 5910 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5908 def straggler_cause_count @straggler_cause_count end |
#total_straggler_count ⇒ Fixnum
The total count of stragglers.
Corresponds to the JSON property totalStragglerCount
5913 5914 5915 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5913 def total_straggler_count @total_straggler_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5920 5921 5922 5923 5924 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5920 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 |