updateNotebookRuntimeTemplate method

  1. @override
Future<NotebookRuntimeTemplate> updateNotebookRuntimeTemplate(
  1. UpdateNotebookRuntimeTemplateRequest request
)
override

Updates a NotebookRuntimeTemplate.

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<NotebookRuntimeTemplate> updateNotebookRuntimeTemplate(
  UpdateNotebookRuntimeTemplateRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_updateNotebookRuntimeTemplate
      case final updateNotebookRuntimeTemplate?) {
    return updateNotebookRuntimeTemplate(request);
  }
  throw UnsupportedError('updateNotebookRuntimeTemplate');
}