Metric class

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

Constructors

Metric()
Metric.fromJson(Map _json)

Properties

labels ↔ Map<String, String>
The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.
read / write
type ↔ String
An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited