| 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(java.lang.String fieldName,
java.lang.Object value) |
MetricThreshold |
MetricThreshold.setAggregations(java.util.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
resrouces).
|
MetricThreshold |
MetricThreshold.setComparison(java.lang.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(java.util.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.This field is similar to the one in the
MetricService.ListTimeSeries request.
|
MetricThreshold |
MetricThreshold.setDenominatorFilter(java.lang.String denominatorFilter)
A filter 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(java.lang.String duration)
The amount of time that a time series must violate the threshold to be considered failing.
|
MetricThreshold |
MetricThreshold.setFilter(java.lang.String filter)
A filter that identifies which time series should be compared with the threshold.The filter is
similar to the one that is specified in the MetricService.ListTimeSeries request (that call is
useful to verify the time series that will be retrieved / processed) and must specify the
metric type and optionally may contain restrictions on resource type, resource labels, and
metric labels.
|
MetricThreshold |
MetricThreshold.setThresholdValue(java.lang.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.
|