GoogleApi.Dataflow.V1b3.Model.DistributionUpdate (google_api_dataflow v0.35.0) View Source

A metric value representing a distribution.

Attributes

  • count (type: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t, default: nil) - The count of the number of elements present in the distribution.
  • histogram (type: GoogleApi.Dataflow.V1b3.Model.Histogram.t, default: nil) - (Optional) Histogram of value counts for the distribution.
  • max (type: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t, default: nil) - The maximum value present in the distribution.
  • min (type: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t, default: nil) - The minimum value present in the distribution.
  • sum (type: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t, default: nil) - Use an int64 since we'd prefer the added precision. If overflow is a common problem we can detect it and use an additional int64 or a double.
  • sumOfSquares (type: float(), default: nil) - Use a double since the sum of squares is likely to overflow int64.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dataflow.V1b3.Model.DistributionUpdate{
  count: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t() | nil,
  histogram: GoogleApi.Dataflow.V1b3.Model.Histogram.t() | nil,
  max: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t() | nil,
  min: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t() | nil,
  sum: GoogleApi.Dataflow.V1b3.Model.SplitInt64.t() | nil,
  sumOfSquares: float() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.