public sealed class MetricRange : IMessage<WindowsBasedSli.Types.MetricRange>, IEquatable<WindowsBasedSli.Types.MetricRange>, IDeepCloneable<WindowsBasedSli.Types.MetricRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class WindowsBasedSli.Types.MetricRange.
A MetricRange is used when each window is good when the value x of a
single TimeSeries satisfies range.min <= x <= range.max. The provided
TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and
MetricKind = GAUGE.
[[["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."],[[["\u003cp\u003eThe latest version of the Google Cloud Monitoring v3 API class \u003ccode\u003eWindowsBasedSli.Types.MetricRange\u003c/code\u003e is 3.15.0, with multiple older versions available ranging down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMetricRange\u003c/code\u003e is used to define conditions for when a window is considered "good," specifically when a single \u003ccode\u003eTimeSeries\u003c/code\u003e value \u003ccode\u003ex\u003c/code\u003e falls within the range \u003ccode\u003erange.min <= x <= range.max\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeSeries\u003c/code\u003e used with \u003ccode\u003eMetricRange\u003c/code\u003e must have \u003ccode\u003eValueType = INT64\u003c/code\u003e or \u003ccode\u003eValueType = DOUBLE\u003c/code\u003e and \u003ccode\u003eMetricKind = GAUGE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eMetricRange\u003c/code\u003e includes properties for defining the acceptable \u003ccode\u003eRange\u003c/code\u003e of values and specifying the \u003ccode\u003eTimeSeries\u003c/code\u003e to be monitored through a monitoring filter string.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetricRange\u003c/code\u003e class provides constructors to create a new instance, either empty or based on an existing \u003ccode\u003eWindowsBasedSli.Types.MetricRange\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]