google_api_apigee v0.3.0 GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Metric 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

Link to this type

t()

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

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.