public Protobuf.Collections.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."],[[["`MetricRule` is a class that binds API methods to metrics, applying configured quota behaviors to method calls, and it implements `Protobuf.IBufferMessage`."],["The class includes constructors, `MetricRule()` and `MetricRule(MetricRule other)`, which initialize a new instance and create a copy of another `MetricRule`, respectively."],["`MetricRule` contains two key fields: `MetricCostsFieldNumber` and `SelectorFieldNumber`, representing the metric costs and the selector field number, respectively."],["The class's `MetricCosts` property allows updating metrics when selected methods are called, with the key being the metric name and the value being the amount increased for the quota limit."],["The class's `Selector` property lets you choose which methods the `MetricRule` applies to."]]],[]]