google_api_monitoring v0.5.0 GoogleApi.Monitoring.V3.Model.Metric View Source

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

Attributes

  • labels (%{optional(String.t) => String.t}): The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values. Defaults to: null.
  • type (String.t): An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount. Defaults to: null.

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.Monitoring.V3.Model.Metric{labels: map(), type: 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.