getNotebookRuntime method
Gets a NotebookRuntime.
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<NotebookRuntime> getNotebookRuntime(
GetNotebookRuntimeRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_getNotebookRuntime case final getNotebookRuntime?) {
return getNotebookRuntime(request);
}
throw UnsupportedError('getNotebookRuntime');
}