2016-04-18 82 views
0

Google Drive API v2 Drive.revisions.update方法允许设置固定参数,以便从不自动清除特定修订。不过,正如文档所述,这不适用于Google文档。我们如何固定一个修订版,这样它永远不会被删除?我有一个应用程序,它取决于跟踪并在稍后时间撤回某些修订。Google Drive SDK:以编程方式固定Google文档修订

关于如何做到这一点的任何建议?

回答

1

Google文档(以及所有本地谷歌格式,如电子表格)不会自动删除任何修订版本,因此不需要修改版本。

如果您指的是.doc,那些不是Google文档。

我无法找到的文档内的引用,但我没有找到他们的营销页面的官方参考: https://apps.google.com/intx/en/products/docs/说:

Unlimited revision history Track changes made to your documents and undo anything you choose. Previous versions are kept indefinitely and they don't count toward your storage.

+0

相关提示Zig。我指的是Google文档(不是非本地格式)。有没有可以指出哪些提及这一点的参考? –

+0

我编辑答案添加官方参考 –

+0

格拉齐。谢谢齐格 –

0

看来,谷歌是清楚这一点。

pinned - This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. 

尝试converting您的修订文件为pdf(非Google Doc)。然后,您可以使用pinned = true保留修订版。

相关问题