Class: Google::Apis::DataprocV1::StageOutputMetrics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageOutputMetrics

Returns a new instance of StageOutputMetrics.



9634
9635
9636
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9634

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

Instance Attribute Details

#bytes_writtenFixnum

Corresponds to the JSON property bytesWritten

Returns:

  • (Fixnum)


9627
9628
9629
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9627

def bytes_written
  @bytes_written
end

#records_writtenFixnum

Corresponds to the JSON property recordsWritten

Returns:

  • (Fixnum)


9632
9633
9634
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9632

def records_written
  @records_written
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9639
9640
9641
9642
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9639

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