@override Object toJson() { return { if (notebookRuntimeTemplate != null) 'notebookRuntimeTemplate': notebookRuntimeTemplate!.toJson(), if (updateMask != null) 'updateMask': updateMask!.toJson(), }; }