Class: Google::Apis::DataflowV1b3::StragglerInfo

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

Information useful for straggler identification and debugging.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StragglerInfo

Returns a new instance of StragglerInfo.



5922
5923
5924
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5922

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

Instance Attribute Details

#causesHash<String,Google::Apis::DataflowV1b3::StragglerDebuggingInfo>

The straggler causes, keyed by the string representation of the StragglerCause enum and contains specialized debugging information for each straggler cause. Corresponds to the JSON property causes



5915
5916
5917
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5915

def causes
  @causes
end

#start_timeString

The time when the work item attempt became a straggler. Corresponds to the JSON property startTime

Returns:

  • (String)


5920
5921
5922
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5920

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5927
5928
5929
5930
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5927

def update!(**args)
  @causes = args[:causes] if args.key?(:causes)
  @start_time = args[:start_time] if args.key?(:start_time)
end