View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleApiMetric (google_api_discovery_engine v0.27.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

t()

@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleApiMetric{
  labels: map() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.