TimeSeriesRatioArgs

data class TimeSeriesRatioArgs(val badServiceFilter: Output<String>? = null, val goodServiceFilter: Output<String>? = null, val totalServiceFilter: Output<String>? = null) : ConvertibleToJava<TimeSeriesRatioArgs>

A TimeSeriesRatio specifies two TimeSeries to use for computing the good_service / total_service ratio. The specified TimeSeries must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. The TimeSeriesRatio must specify exactly two of good, bad, and total, and the relationship good_service + bad_service = total_service will be assumed.

Constructors

Link copied to clipboard
fun TimeSeriesRatioArgs(badServiceFilter: Output<String>? = null, goodServiceFilter: Output<String>? = null, totalServiceFilter: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TimeSeriesRatioArgs

Properties

Link copied to clipboard
val badServiceFilter: Output<String>? = null

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

Link copied to clipboard
val goodServiceFilter: Output<String>? = null

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying good service provided. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

Link copied to clipboard
val totalServiceFilter: Output<String>? = null

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying total demanded service. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.