updateDatasetVersion method

  1. @override
Future<DatasetVersion> updateDatasetVersion(
  1. UpdateDatasetVersionRequest request
)
override

Updates a DatasetVersion.

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<DatasetVersion> updateDatasetVersion(
  UpdateDatasetVersionRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_updateDatasetVersion case final updateDatasetVersion?) {
    return updateDatasetVersion(request);
  }
  throw UnsupportedError('updateDatasetVersion');
}