GoogleApi.ServiceControl.V1.Model.MetricValue (google_api_service_control v0.35.1) View Source

Represents a single metric value.

Attributes

  • boolValue (type: boolean(), default: nil) - A boolean value.
  • distributionValue (type: GoogleApi.ServiceControl.V1.Model.Distribution.t, default: nil) - A distribution value.
  • doubleValue (type: float(), default: nil) - A double precision floating point value.
  • endTime (type: DateTime.t, default: nil) - The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
  • int64Value (type: String.t, default: nil) - A signed 64-bit integer value.
  • labels (type: map(), default: nil) - The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
  • moneyValue (type: GoogleApi.ServiceControl.V1.Model.Money.t, default: nil) - A money value.
  • startTime (type: DateTime.t, default: nil) - 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. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
  • stringValue (type: String.t, default: nil) - A text string value.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Specs

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

Unwrap a decoded JSON object into its complex fields.