listModelMonitors method

  1. @override
Future<ListModelMonitorsResponse> listModelMonitors(
  1. ListModelMonitorsRequest request
)
override

Lists ModelMonitors in a Location.

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<ListModelMonitorsResponse> listModelMonitors(
  ListModelMonitorsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listModelMonitors case final listModelMonitors?) {
    return listModelMonitors(request);
  }
  throw UnsupportedError('listModelMonitors');
}