| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
MetricThreshold |
MetricThreshold.clone() |
MetricThreshold |
Condition.getConditionThreshold()
A condition that compares a time series against a threshold.
|
MetricThreshold |
MetricThreshold.set(String fieldName,
Object value) |
MetricThreshold |
MetricThreshold.setAggregations(List<Aggregation> aggregations)
Specifies the alignment of data points in individual time series as well as how to combine the
retrieved time series together (such as when aggregating multiple streams on each resource to a
single stream for each resource or when aggregating streams across all members of a group of
resources).
|
MetricThreshold |
MetricThreshold.setComparison(String comparison)
The comparison to apply between the time series (indicated by filter and aggregation) and the
threshold (indicated by threshold_value).
|
MetricThreshold |
MetricThreshold.setDenominatorAggregations(List<Aggregation> denominatorAggregations)
Specifies the alignment of data points in individual time series selected by denominatorFilter
as well as how to combine the retrieved time series together (such as when aggregating multiple
streams on each resource to a single stream for each resource or when aggregating streams
across all members of a group of resources).When computing ratios, the aggregations and
denominator_aggregations fields must use the same alignment period and produce time series that
have the same periodicity and labels.
|
MetricThreshold |
MetricThreshold.setDenominatorFilter(String denominatorFilter)
A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies a time series
that should be used as the denominator of a ratio that will be compared with the threshold.
|
MetricThreshold |
MetricThreshold.setDuration(String duration)
Required.
|
MetricThreshold |
MetricThreshold.setEvaluationMissingData(String evaluationMissingData)
A condition control that determines how metric-threshold conditions are evaluated when data
stops arriving.
|
MetricThreshold |
MetricThreshold.setFilter(String filter)
Required.
|
MetricThreshold |
MetricThreshold.setForecastOptions(ForecastOptions forecastOptions)
When this field is present, the MetricThreshold condition forecasts whether the time series is
predicted to violate the threshold within the forecast_horizon.
|
MetricThreshold |
MetricThreshold.setThresholdValue(Double thresholdValue)
A value against which to compare the time series.
|
MetricThreshold |
MetricThreshold.setTrigger(Trigger trigger)
The number/percent of time series for which the comparison must hold in order for the condition
to trigger.
|
| Modifier and Type | Method and Description |
|---|---|
Condition |
Condition.setConditionThreshold(MetricThreshold conditionThreshold)
A condition that compares a time series against a threshold.
|
Copyright © 2011–2025 Google. All rights reserved.