Stackdriver Monitoring V3 Client - Class PerformanceThreshold (1.3.2)

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

A PerformanceThreshold is used when each window is good when that window has a sufficiently high performance.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ performance Google\Cloud\Monitoring\V3\RequestBasedSli

RequestBasedSli to evaluate to judge window quality.

↳ basic_sli_performance Google\Cloud\Monitoring\V3\BasicSli

BasicSli to evaluate to judge window quality.

↳ threshold float

If window performance >= threshold, the window is counted as good.

getPerformance

RequestBasedSli to evaluate to judge window quality.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\RequestBasedSli|null

hasPerformance

setPerformance

RequestBasedSli to evaluate to judge window quality.

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\RequestBasedSli
Returns
TypeDescription
$this

getBasicSliPerformance

BasicSli to evaluate to judge window quality.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\BasicSli|null

hasBasicSliPerformance

setBasicSliPerformance

BasicSli to evaluate to judge window quality.

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\BasicSli
Returns
TypeDescription
$this

getThreshold

If window performance >= threshold, the window is counted as good.

Returns
TypeDescription
float

setThreshold

If window performance >= threshold, the window is counted as good.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getType

Returns
TypeDescription
string