$MetricRule class

Used by:

  • servicemanagement:v1 : MetricRule
  • serviceusage:v1 : MetricRule

Constructors

$MetricRule({Map<String, String>? agenticMetricCosts, Map<String, String>? metricCosts, Map<String, String>? nonagenticMetricCosts, String? selector})
$MetricRule.fromJson(Map json_)

Properties

agenticMetricCosts ↔ Map<String, String>?
Metrics to update when the selected methods are called, and the associated cost applied to each metric, iff the source of the call is an agent.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
metricCosts ↔ Map<String, String>?
Metrics to update when the selected methods are called, and the associated cost applied to each metric.
getter/setter pair
nonagenticMetricCosts ↔ Map<String, String>?
Metrics to update when the selected methods are called, and the associated cost applied to each metric, iff the source of the call is not an agent.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selector ↔ String?
Selects the methods to which this rule applies.
getter/setter pair

Methods

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

Operators

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