Class: Google::Apis::DataprocV1::OutputQuantileMetrics

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OutputQuantileMetrics

Returns a new instance of OutputQuantileMetrics.



5601
5602
5603
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5601

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

Instance Attribute Details

#bytes_writtenGoogle::Apis::DataprocV1::Quantiles

Quantile metrics data related to Tasks. Units can be seconds, bytes, milliseconds, etc depending on the message type. Corresponds to the JSON property bytesWritten



5593
5594
5595
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5593

def bytes_written
  @bytes_written
end

#records_writtenGoogle::Apis::DataprocV1::Quantiles

Quantile metrics data related to Tasks. Units can be seconds, bytes, milliseconds, etc depending on the message type. Corresponds to the JSON property recordsWritten



5599
5600
5601
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5599

def records_written
  @records_written
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5606
5607
5608
5609
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5606

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