createHyperparameterTuningJob method

  1. @override
Future<HyperparameterTuningJob> createHyperparameterTuningJob(
  1. CreateHyperparameterTuningJobRequest request
)
override

Creates a HyperparameterTuningJob

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<HyperparameterTuningJob> createHyperparameterTuningJob(
  CreateHyperparameterTuningJobRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_createHyperparameterTuningJob
      case final createHyperparameterTuningJob?) {
    return createHyperparameterTuningJob(request);
  }
  throw UnsupportedError('createHyperparameterTuningJob');
}