Class: Google::Apis::DataprocV1::Quantiles

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Quantiles

Returns a new instance of Quantiles.



6456
6457
6458
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6456

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

Instance Attribute Details

#countFixnum

Corresponds to the JSON property count

Returns:

  • (Fixnum)


6424
6425
6426
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6424

def count
  @count
end

#maximumFixnum

Corresponds to the JSON property maximum

Returns:

  • (Fixnum)


6429
6430
6431
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6429

def maximum
  @maximum
end

#minimumFixnum

Corresponds to the JSON property minimum

Returns:

  • (Fixnum)


6434
6435
6436
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6434

def minimum
  @minimum
end

#percentile25Fixnum

Corresponds to the JSON property percentile25

Returns:

  • (Fixnum)


6439
6440
6441
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6439

def percentile25
  @percentile25
end

#percentile50Fixnum

Corresponds to the JSON property percentile50

Returns:

  • (Fixnum)


6444
6445
6446
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6444

def percentile50
  @percentile50
end

#percentile75Fixnum

Corresponds to the JSON property percentile75

Returns:

  • (Fixnum)


6449
6450
6451
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6449

def percentile75
  @percentile75
end

#sumFixnum

Corresponds to the JSON property sum

Returns:

  • (Fixnum)


6454
6455
6456
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6454

def sum
  @sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6461
6462
6463
6464
6465
6466
6467
6468
6469
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6461

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