Class: Google::Apis::DataprocV1::Quantiles
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::Quantiles
- 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
Quantile metrics data related to Tasks. Units can be seconds, bytes, milliseconds, etc depending on the message type.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Corresponds to the JSON property
count. -
#maximum ⇒ Fixnum
Corresponds to the JSON property
maximum. -
#minimum ⇒ Fixnum
Corresponds to the JSON property
minimum. -
#percentile25 ⇒ Fixnum
Corresponds to the JSON property
percentile25. -
#percentile50 ⇒ Fixnum
Corresponds to the JSON property
percentile50. -
#percentile75 ⇒ Fixnum
Corresponds to the JSON property
percentile75. -
#sum ⇒ Fixnum
Corresponds to the JSON property
sum.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Quantiles
constructor
A new instance of Quantiles.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Quantiles
Returns a new instance of Quantiles.
6623 6624 6625 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
6591 6592 6593 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6591 def count @count end |
#maximum ⇒ Fixnum
Corresponds to the JSON property maximum
6596 6597 6598 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6596 def maximum @maximum end |
#minimum ⇒ Fixnum
Corresponds to the JSON property minimum
6601 6602 6603 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6601 def minimum @minimum end |
#percentile25 ⇒ Fixnum
Corresponds to the JSON property percentile25
6606 6607 6608 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6606 def percentile25 @percentile25 end |
#percentile50 ⇒ Fixnum
Corresponds to the JSON property percentile50
6611 6612 6613 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6611 def percentile50 @percentile50 end |
#percentile75 ⇒ Fixnum
Corresponds to the JSON property percentile75
6616 6617 6618 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6616 def percentile75 @percentile75 end |
#sum ⇒ Fixnum
Corresponds to the JSON property sum
6621 6622 6623 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6621 def sum @sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6628 6629 6630 6631 6632 6633 6634 6635 6636 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6628 def update!(**args) @count = args[:count] if args.key?(:count) @maximum = args[:maximum] if args.key?(:maximum) @minimum = args[:minimum] if args.key?(:minimum) @percentile25 = args[:percentile25] if args.key?(:percentile25) @percentile50 = args[:percentile50] if args.key?(:percentile50) @percentile75 = args[:percentile75] if args.key?(:percentile75) @sum = args[:sum] if args.key?(:sum) end |