BasicSliResponse constructor
Creates a new BasicSliResponse.
availability Good service is defined to be the count of requests made to this service that return successfully.
latency Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold.
location OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
method OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
version OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
Implementation
const BasicSliResponse({
required this.availability,
required this.latency,
required this.location,
required this.method,
required this.version,
});