【发布时间】:2016-07-08 05:37:40
【问题描述】:
我正在尝试使用 Apps 脚本恢复到特定版本的 Google 表格。我尝试了几种方法,但都没有奏效。
在此处获取有关修订的一些信息 https://developers.google.com/apps-script/advanced/drive#listing_revisions
我也尝试了以下不同的方法
Drive.Revisions.remove("xxxxxxxxxxxxxxxxxxxx", 658);
Drive.Revisions.update(resource, "xxxxxxxxxxxxxxxxxxxxxxxx", 657);
Drive.Revisions.update(resource, "xxxxxxxxxxxxxxxxxxxxxxxx", 657);
以上都不起作用。谁能建议我做错了什么或者我错过了什么?
【问题讨论】:
-
你知道这里的参数'resource'是什么意思吗?
-
在此处查看(复杂的)答案:stackoverflow.com/questions/57886437/…
标签: google-apps-script google-drive-api