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.
5953 5954 5955 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5953 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
5940 5941 5942 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5940 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
5946 5947 5948 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5946 def straggler_cause_count @straggler_cause_count end |
#total_straggler_count ⇒ Fixnum
The total count of stragglers.
Corresponds to the JSON property totalStragglerCount
5951 5952 5953 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5951 def total_straggler_count @total_straggler_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5958 5959 5960 5961 5962 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5958 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 |