Class: Google::Apis::DataflowV1b3::FloatingPointMean
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::FloatingPointMean
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
A representation of a floating point mean metric contribution.
Instance Attribute Summary collapse
-
#count ⇒ Google::Apis::DataflowV1b3::SplitInt64
A representation of an int64, n, that is immune to precision loss when encoded in JSON.
-
#sum ⇒ Float
The sum of all values being aggregated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FloatingPointMean
constructor
A new instance of FloatingPointMean.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FloatingPointMean
Returns a new instance of FloatingPointMean
1246 1247 1248 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Google::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
1239 1240 1241 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1239 def count @count end |
#sum ⇒ Float
The sum of all values being aggregated.
Corresponds to the JSON property sum
1244 1245 1246 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1244 def sum @sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1251 1252 1253 1254 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1251 def update!(**args) @count = args[:count] if args.key?(:count) @sum = args[:sum] if args.key?(:sum) end |