BasicSli class Null safety

An SLI measuring performance on a well-known service type.

Performance will be computed on the basis of pre-defined metrics. The type of the service_resource determines the metrics to use and the service_resource.labels and metric_labels are used to construct a monitoring filter to filter that metric down to just the data relevant to this service.

Constructors

BasicSli({AvailabilityCriteria? availability, LatencyCriteria? latency, List<String>? location, List<String>? method, List<String>? version})
BasicSli.fromJson(Map json_)

Properties

availability AvailabilityCriteria?
Good service is defined to be the count of requests made to this service that return successfully.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
latency LatencyCriteria?
Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold.
read / write
location List<String>?
OPTIONAL: The set of locations to which this SLI is relevant.
read / write
method List<String>?
OPTIONAL: The set of RPCs to which this SLI is relevant.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
version List<String>?
OPTIONAL: The set of API versions to which this SLI is relevant.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited