WindowsBasedSliResponse class
A WindowsBasedSli defines good_service as the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in the window_criterion.
Constructors
-
WindowsBasedSliResponse({required Input<
String> goodBadMetricFilter, required Input<PerformanceThresholdResponse> goodTotalRatioThreshold, required Input<MetricRangeResponse> metricMeanInRange, required Input<MetricRangeResponse> metricSumInRange, required Input<String> windowPeriod}) -
Creates a new WindowsBasedSliResponse.
goodBadMetricFilterA monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.goodTotalRatioThresholdA window is good if its performance is high enough.metricMeanInRangeA window is good if the metric's value is in a good range, averaged across returned streams.metricSumInRangeA window is good if the metric's value is in a good range, summed across returned streams.windowPeriodDuration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.const -
WindowsBasedSliResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
goodBadMetricFilter
→ Input<
String> -
A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.
final
-
goodTotalRatioThreshold
→ Input<
PerformanceThresholdResponse> -
A window is good if its performance is high enough.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metricMeanInRange
→ Input<
MetricRangeResponse> -
A window is good if the metric's value is in a good range, averaged across returned streams.
final
-
metricSumInRange
→ Input<
MetricRangeResponse> -
A window is good if the metric's value is in a good range, summed across returned streams.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
windowPeriod
→ Input<
String> -
Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited