public sealed class AlertPolicy.Types.Condition.Types.MetricThreshold.Types.ForecastOptions : IMessage<AlertPolicy.Types.Condition.Types.MetricThreshold.Types.ForecastOptions>, IEquatable<AlertPolicy.Types.Condition.Types.MetricThreshold.Types.ForecastOptions>, IDeepCloneable<AlertPolicy.Types.Condition.Types.MetricThreshold.Types.ForecastOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class AlertPolicy.Types.Condition.Types.MetricThreshold.Types.ForecastOptions.
Options used when forecasting the time series and testing the predicted value against the threshold.
Implements
IMessageAlertPolicyTypesConditionTypesMetricThresholdTypesForecastOptions, IEquatableAlertPolicyTypesConditionTypesMetricThresholdTypesForecastOptions, IDeepCloneableAlertPolicyTypesConditionTypesMetricThresholdTypesForecastOptions, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ForecastOptions()
public ForecastOptions()
ForecastOptions(ForecastOptions)
public ForecastOptions(AlertPolicy.Types.Condition.Types.MetricThreshold.Types.ForecastOptions other)
Parameter | |
---|---|
Name | Description |
other |
AlertPolicyTypesConditionTypesMetricThresholdTypesForecastOptions |
Properties
ForecastHorizon
public Duration ForecastHorizon { get; set; }
Required. The length of time into the future to forecast whether a
time series will violate the threshold. If the predicted value is
found to violate the threshold, and the violation is observed in all
forecasts made for the configured duration
, then the time series is
considered to be failing.
The forecast horizon can range from 1 hour to 60 hours.
Property Value | |
---|---|
Type | Description |
Duration |