google_api_service_control v0.8.0 GoogleApi.ServiceControl.V1.Model.MetricValue View Source

Represents a single metric value.

Attributes

  • boolValue (boolean()): A boolean value. Defaults to nil.
  • distributionValue (GoogleApi.ServiceControl.V1.Model.Distribution.t): A distribution value. Defaults to nil.
  • doubleValue (float()): A double precision floating point value. Defaults to nil.
  • endTime (DateTime.t): The end of the time period over which this metric value's measurement applies. Defaults to nil.
  • int64Value (String.t): A signed 64-bit integer value. Defaults to nil.
  • labels (map()): The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Defaults to nil.
  • moneyValue (GoogleApi.ServiceControl.V1.Model.Money.t): A money value. Defaults to nil.
  • startTime (DateTime.t): The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details. Defaults to nil.
  • stringValue (String.t): A text string value. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.ServiceControl.V1.Model.MetricValue{
  boolValue: boolean(),
  distributionValue: GoogleApi.ServiceControl.V1.Model.Distribution.t(),
  doubleValue: float(),
  endTime: DateTime.t(),
  int64Value: String.t(),
  labels: map(),
  moneyValue: GoogleApi.ServiceControl.V1.Model.Money.t(),
  startTime: DateTime.t(),
  stringValue: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.