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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.