listNotebookRuntimes method

  1. @override
Future<ListNotebookRuntimesResponse> listNotebookRuntimes(
  1. ListNotebookRuntimesRequest request
)
override

Lists NotebookRuntimes in a Location.

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<ListNotebookRuntimesResponse> listNotebookRuntimes(
  ListNotebookRuntimesRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listNotebookRuntimes case final listNotebookRuntimes?) {
    return listNotebookRuntimes(request);
  }
  throw UnsupportedError('listNotebookRuntimes');
}