GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Metric (google_api_apigee v0.24.1) View Source

This message type encapsulates the metric data point. Example: { "name": "sum(message_count)", "values" : [ { "timestamp": 1549004400000, "value": "39.0" }, { "timestamp" : 1548997200000, "value" : "0.0" } ] } or { "name": "sum(message_count)", "values" : ["39.0"] }

Attributes

  • name (type: String.t, default: nil) - This field contains the metric name.
  • values (type: list(any()), default: nil) - List of metric values. Possible value format: "values":["39.0"] or "values":[ { "value": "39.0", "timestamp": 1232434354} ]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Metric{
  name: String.t(),
  values: [any()]
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.