Class: Google::Apis::DataprocV1::ShuffleWriteMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ShuffleWriteMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Shuffle data written by task.
Instance Attribute Summary collapse
-
#bytes_written ⇒ Fixnum
Corresponds to the JSON property
bytesWritten. -
#records_written ⇒ Fixnum
Corresponds to the JSON property
recordsWritten. -
#write_time_nanos ⇒ Fixnum
Corresponds to the JSON property
writeTimeNanos.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShuffleWriteMetrics
constructor
A new instance of ShuffleWriteMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShuffleWriteMetrics
Returns a new instance of ShuffleWriteMetrics.
8366 8367 8368 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_written ⇒ Fixnum
Corresponds to the JSON property bytesWritten
8354 8355 8356 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8354 def bytes_written @bytes_written end |
#records_written ⇒ Fixnum
Corresponds to the JSON property recordsWritten
8359 8360 8361 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8359 def records_written @records_written end |
#write_time_nanos ⇒ Fixnum
Corresponds to the JSON property writeTimeNanos
8364 8365 8366 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8364 def write_time_nanos @write_time_nanos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8371 8372 8373 8374 8375 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8371 def update!(**args) @bytes_written = args[:bytes_written] if args.key?(:bytes_written) @records_written = args[:records_written] if args.key?(:records_written) @write_time_nanos = args[:write_time_nanos] if args.key?(:write_time_nanos) end |