getNotebookExecutionJob method

  1. @override
Future<NotebookExecutionJob> getNotebookExecutionJob(
  1. GetNotebookExecutionJobRequest request
)
override

Gets a NotebookExecutionJob.

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<NotebookExecutionJob> getNotebookExecutionJob(
  GetNotebookExecutionJobRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getNotebookExecutionJob case final getNotebookExecutionJob?) {
    return getNotebookExecutionJob(request);
  }
  throw UnsupportedError('getNotebookExecutionJob');
}