我刚刚从Google Apps Script过渡到node.js和Google Cloud Functions,有一段来自现有帖子的代码我不理解。在这篇文章中:,@domdomeg.列出了一个从Google Cloud函数调用Googlesheets API的代码示例。我已经在一个Google Cloud Function中运行了该代码。但是,我不理解代码中的特定部分:
// This just prints out all Worksheet names
我有一个非常大的googlesheets文件,里面有很多工作表,我需要一个单元格没有字符串"description“的工作表列表。我对googlesheets是个新手。names for active document */ var out = new Array()
var sheets= SpreadsheetApp.getActiveSpreadsheet().ge