Class: Google::Apis::DataflowV1b3::FloatingPointMean

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb

Overview

A representation of a floating point mean metric contribution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FloatingPointMean

Returns a new instance of FloatingPointMean.



1912
1913
1914
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1912

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

Instance Attribute Details

#countGoogle::Apis::DataflowV1b3::SplitInt64

A representation of an int64, n, that is immune to precision loss when encoded in JSON. Corresponds to the JSON property count



1905
1906
1907
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1905

def count
  @count
end

#sumFloat

The sum of all values being aggregated. Corresponds to the JSON property sum

Returns:

  • (Float)


1910
1911
1912
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1910

def sum
  @sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1917
1918
1919
1920
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1917

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