public MapField<string, long> MetricCosts { get; }
Metrics to update when the selected methods are called, and the associated
cost applied to each metric.
The key of the map is the metric name, and the values are the amount
increased for the metric against which the quota limits are defined.
The value must not be negative.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `MetricRule` class binds API methods to metrics, applying configured quota behaviors to method calls."],["`MetricRule` inherits from `object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["It has properties like `MetricCosts` which defines the metrics updated when selected methods are called, along with their associated costs and `Selector` which selects the methods to which this rule applies."],["The class offers constructors, including a default constructor and one that takes another `MetricRule` as a parameter, and contains members including fields, methods, properties, and inherited members."],["It defines fields such as `MetricCostsFieldNumber` and `SelectorFieldNumber`, which represent the field numbers for \"metric_costs\" and \"selector\" respectively."]]],[]]