google_api_dataflow v0.8.0 GoogleApi.Dataflow.V1b3.Model.MetricUpdate View Source
Describes the state of a metric.
Attributes
- cumulative (boolean()): True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem. Defaults to:
null
. - distribution (String.t): A struct value describing properties of a distribution of numeric values. Defaults to:
null
. - gauge (String.t): A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value. Defaults to:
null
. - internal (String.t): Worker-computed aggregate value for internal use by the Dataflow service. Defaults to:
null
. - kind (String.t): Metric aggregation kind. The possible metric aggregation kinds are "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution". The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value. Defaults to:
null
. - meanCount (String.t): Worker-computed aggregate value for the "Mean" aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long. Defaults to:
null
. - meanSum (String.t): Worker-computed aggregate value for the "Mean" aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double. Defaults to:
null
. - name (MetricStructuredName): Name of the metric. Defaults to:
null
. - scalar (String.t): Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or". The possible value types are Long, Double, and Boolean. Defaults to:
null
. - set (String.t): Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type. Defaults to:
null
. - updateTime (DateTime.t): Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.