GoogleApi.Container.V1.Model.Metric (google_api_container v0.24.0) View Source

Progress metric is (string, int|float|string) pair.

Attributes

  • doubleValue (type: float(), default: nil) - For metrics with floating point value.
  • intValue (type: String.t, default: nil) - For metrics with integer value.
  • name (type: String.t, default: nil) - Required. Metric name, e.g., "nodes total", "percent done".
  • stringValue (type: String.t, default: nil) - For metrics with custom values (ratios, visual progress, etc.).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Container.V1.Model.Metric{
  doubleValue: float(),
  intValue: String.t(),
  name: String.t(),
  stringValue: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.