createModelMonitoringJob method
Future<ModelMonitoringJob>
createModelMonitoringJob(
- CreateModelMonitoringJobRequest request
override
Creates a ModelMonitoringJob.
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<ModelMonitoringJob> createModelMonitoringJob(
CreateModelMonitoringJobRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_createModelMonitoringJob case final createModelMonitoringJob?) {
return createModelMonitoringJob(request);
}
throw UnsupportedError('createModelMonitoringJob');
}