Class: Google::Apis::DataprocV1::StageShuffleWriteMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::StageShuffleWriteMetrics
- 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 for the stage.
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) ⇒ StageShuffleWriteMetrics
constructor
A new instance of StageShuffleWriteMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StageShuffleWriteMetrics
Returns a new instance of StageShuffleWriteMetrics.
9804 9805 9806 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_written ⇒ Fixnum
Corresponds to the JSON property bytesWritten
9792 9793 9794 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9792 def bytes_written @bytes_written end |
#records_written ⇒ Fixnum
Corresponds to the JSON property recordsWritten
9797 9798 9799 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9797 def records_written @records_written end |
#write_time_nanos ⇒ Fixnum
Corresponds to the JSON property writeTimeNanos
9802 9803 9804 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9802 def write_time_nanos @write_time_nanos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9809 9810 9811 9812 9813 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9809 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 |