evaluateInstances method
Evaluates instances based on a given metric.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
@override
Future<EvaluateInstancesResponse> evaluateInstances(
EvaluateInstancesRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_evaluateInstances case final evaluateInstances?) {
return evaluateInstances(request);
}
throw UnsupportedError('evaluateInstances');
}