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.



5619
5620
5621
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5619

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



5606
5607
5608
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5606

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>)


5612
5613
5614
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5612

def straggler_cause_count
  @straggler_cause_count
end

#total_straggler_countFixnum

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

Returns:

  • (Fixnum)


5617
5618
5619
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5617

def total_straggler_count
  @total_straggler_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5624
5625
5626
5627
5628
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5624

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