Stackdriver Monitoring V3 Client - Class LatencyCriteria (1.8.0)

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 \ BasicSli

Methods

__construct

Constructor.

Parameters
NameDescription
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 threshold.

getThreshold

Good service is defined to be the count of requests made to this service that return in no more than threshold.

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this