Stackdriver Monitoring V3 Client - Class LatencyCriteria (1.2.2)

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

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
Design a Mobile Site
View Site in Mobile | Classic
Share by: