Class: Google::Apis::DataflowV1b3::IntegerMean
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::IntegerMean
- 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 an integer 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 ⇒ Google::Apis::DataflowV1b3::SplitInt64
A representation of an int64, n, that is immune to precision loss when encoded in JSON.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntegerMean
constructor
A new instance of IntegerMean.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IntegerMean
Returns a new instance of IntegerMean.
1661 1662 1663 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1661 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
1659 1660 1661 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1659 def count @count end |
#sum ⇒ 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 sum
1653 1654 1655 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1653 def sum @sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1666 1667 1668 1669 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1666 def update!(**args) @sum = args[:sum] if args.key?(:sum) @count = args[:count] if args.key?(:count) end |