getHyperparameterTuningJob method

  1. @override
Future<HyperparameterTuningJob> getHyperparameterTuningJob(
  1. GetHyperparameterTuningJobRequest request
)
override

Gets 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> getHyperparameterTuningJob(
  GetHyperparameterTuningJobRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getHyperparameterTuningJob case final getHyperparameterTuningJob?) {
    return getHyperparameterTuningJob(request);
  }
  throw UnsupportedError('getHyperparameterTuningJob');
}