Class: Google::Apis::DataprocV1::OutputMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::OutputMetrics
- 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 data written by the task.
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) ⇒ OutputMetrics
constructor
A new instance of OutputMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OutputMetrics
Returns a new instance of OutputMetrics.
6115 6116 6117 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_written ⇒ Fixnum
Corresponds to the JSON property bytesWritten
6108 6109 6110 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6108 def bytes_written @bytes_written end |
#records_written ⇒ Fixnum
Corresponds to the JSON property recordsWritten
6113 6114 6115 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6113 def records_written @records_written end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6120 6121 6122 6123 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6120 def update!(**args) @bytes_written = args[:bytes_written] if args.key?(:bytes_written) @records_written = args[:records_written] if args.key?(:records_written) end |