View Source GoogleApi.Monitoring.V3.Model.Metric (google_api_monitoring v0.55.0)

A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.

Attributes

  • labels (type: map(), default: nil) - The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.
  • type (type: String.t, default: nil) - An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Monitoring.V3.Model.Metric{
  labels: map() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.