Class: Google::Apis::DataprocV1::StageOutputMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::StageOutputMetrics
- 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
Metrics about the output written by the stage.
Instance Attribute Summary collapse
-
#bytes_written ⇒ Fixnum
Corresponds to the JSON property
bytesWritten. -
#records_written ⇒ Fixnum
Corresponds to the JSON property
recordsWritten.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StageOutputMetrics
constructor
A new instance of StageOutputMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StageOutputMetrics
Returns a new instance of StageOutputMetrics.
10244 10245 10246 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_written ⇒ Fixnum
Corresponds to the JSON property bytesWritten
10237 10238 10239 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10237 def bytes_written @bytes_written end |
#records_written ⇒ Fixnum
Corresponds to the JSON property recordsWritten
10242 10243 10244 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10242 def records_written @records_written end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10249 10250 10251 10252 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10249 def update!(**args) @bytes_written = args[:bytes_written] if args.key?(:bytes_written) @records_written = args[:records_written] if args.key?(:records_written) end |