Class: Google::Apis::DataflowV1b3::StragglerSummary

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StragglerSummary

Returns a new instance of StragglerSummary.



6106
6107
6108
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6106

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#recent_stragglersArray<Google::Apis::DataflowV1b3::Straggler>

The most recent stragglers. Corresponds to the JSON property recentStragglers



6093
6094
6095
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6093

def recent_stragglers
  @recent_stragglers
end

#straggler_cause_countHash<String,Fixnum>

Aggregated counts of straggler causes, keyed by the string representation of the StragglerCause enum. Corresponds to the JSON property stragglerCauseCount

Returns:

  • (Hash<String,Fixnum>)


6099
6100
6101
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6099

def straggler_cause_count
  @straggler_cause_count
end

#total_straggler_countFixnum

The total count of stragglers. Corresponds to the JSON property totalStragglerCount

Returns:

  • (Fixnum)


6104
6105
6106
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6104

def total_straggler_count
  @total_straggler_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6111
6112
6113
6114
6115
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6111

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