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
Methods
__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
.
Generated from protobuf field .google.protobuf.Duration threshold = 3;
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
.
Generated from protobuf field .google.protobuf.Duration threshold = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |