Class: Google::Apis::DataflowV1b3::Straggler

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 for a straggler.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Straggler

Returns a new instance of Straggler.



6210
6211
6212
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6210

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

Instance Attribute Details

#batch_stragglerGoogle::Apis::DataflowV1b3::StragglerInfo

Information useful for straggler identification and debugging. Corresponds to the JSON property batchStraggler



6203
6204
6205
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6203

def batch_straggler
  @batch_straggler
end

#streaming_stragglerGoogle::Apis::DataflowV1b3::StreamingStragglerInfo

Information useful for streaming straggler identification and debugging. Corresponds to the JSON property streamingStraggler



6208
6209
6210
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6208

def streaming_straggler
  @streaming_straggler
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6215
6216
6217
6218
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6215

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