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.



5568
5569
5570
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5568

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



5561
5562
5563
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5561

def causes
  @causes
end

#start_timeString

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

Returns:

  • (String)


5566
5567
5568
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5566

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5573
5574
5575
5576
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5573

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