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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ performance |
Google\Cloud\Monitoring\V3\RequestBasedSli
|
↳ basic_sli_performance |
Google\Cloud\Monitoring\V3\BasicSli
|
↳ threshold |
float
If window |
getPerformance
RequestBasedSli
to evaluate to judge window quality.
Returns | |
---|---|
Type | Description |
Google\Cloud\Monitoring\V3\RequestBasedSli|null |
hasPerformance
setPerformance
RequestBasedSli
to evaluate to judge window quality.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Monitoring\V3\RequestBasedSli
|
Returns | |
---|---|
Type | Description |
$this |
getBasicSliPerformance
BasicSli
to evaluate to judge window quality.
Returns | |
---|---|
Type | Description |
Google\Cloud\Monitoring\V3\BasicSli|null |
hasBasicSliPerformance
setBasicSliPerformance
BasicSli
to evaluate to judge window quality.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Monitoring\V3\BasicSli
|
Returns | |
---|---|
Type | Description |
$this |
getThreshold
If window performance >= threshold
, the window is counted as good.
Returns | |
---|---|
Type | Description |
float |
setThreshold
If window performance >= threshold
, the window is counted as good.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getType
Returns | |
---|---|
Type | Description |
string |