我正在尝试使用 Java APIm 删除 Google 文档,它工作正常,但文档正在垃圾文件夹中。我希望文档即使从垃圾箱中也能永久删除。有人可以建议我如何解决这个问题吗?这是我一直用来删除文档的代码。
DocsService docsService = new DocsService(domain);
URL docURL = new URL("https://docs.google.com/feeds/default/private/full/"+resourceId+"?xoauth_requestor_id=" + loginUser);//No I18N
DocumentListEntry sd=docsService.getEntry(docURL, DocumentListEntry.class);
sd.delete();