Stackdriver Monitoring V3 Client - Class MetricRange (1.11.0)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class MetricRange.

A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.

Generated from protobuf message google.monitoring.v3.WindowsBasedSli.MetricRange

Namespace

Google \ Cloud \ Monitoring \ V3 \ WindowsBasedSli

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ time_series string

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

↳ range Google\Cloud\Monitoring\V3\Range

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

getTimeSeries

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

Returns
Type Description
string

setTimeSeries

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

Parameter
Name Description
var string
Returns
Type Description
$this

getRange

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

Returns
Type Description
Google\Cloud\Monitoring\V3\Range|null

hasRange

clearRange

setRange

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

Parameter
Name Description
var Google\Cloud\Monitoring\V3\Range
Returns
Type Description
$this