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.
Generated from protobuf field .google.monitoring.v3.RequestBasedSli performance = 1;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Monitoring\V3\RequestBasedSli|null |
|
hasPerformance
setPerformance
RequestBasedSli to evaluate to judge window quality.
Generated from protobuf field .google.monitoring.v3.RequestBasedSli performance = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Monitoring\V3\RequestBasedSli
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBasicSliPerformance
BasicSli to evaluate to judge window quality.
Generated from protobuf field .google.monitoring.v3.BasicSli basic_sli_performance = 3;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Monitoring\V3\BasicSli|null |
|
hasBasicSliPerformance
setBasicSliPerformance
BasicSli to evaluate to judge window quality.
Generated from protobuf field .google.monitoring.v3.BasicSli basic_sli_performance = 3;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Monitoring\V3\BasicSli
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThreshold
If window performance >= threshold, the window is counted as good.
Generated from protobuf field double threshold = 2;
| Returns | |
|---|---|
| Type | Description |
float |
|
setThreshold
If window performance >= threshold, the window is counted as good.
Generated from protobuf field double threshold = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
| Returns | |
|---|---|
| Type | Description |
string |
|