Reference documentation and code samples for the Stackdriver Monitoring V3 Client class LatencyCriteria.
Parameters for a latency threshold SLI.
Generated from protobuf message google.monitoring.v3.BasicSli.LatencyCriteria
Namespace
Google \ Cloud \ Monitoring \ V3 \ BasicSliMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ threshold |
Google\Protobuf\Duration
Good service is defined to be the count of requests made to this service that return in no more than |
getThreshold
Good service is defined to be the count of requests made to this service
that return in no more than threshold.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasThreshold
clearThreshold
setThreshold
Good service is defined to be the count of requests made to this service
that return in no more than threshold.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|