searchModelMonitoringAlerts method

Returns the Model Monitoring alerts.

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<SearchModelMonitoringAlertsResponse> searchModelMonitoringAlerts(
  SearchModelMonitoringAlertsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_searchModelMonitoringAlerts case final searchModelMonitoringAlerts?) {
    return searchModelMonitoringAlerts(request);
  }
  throw UnsupportedError('searchModelMonitoringAlerts');
}