【发布时间】:2014-06-02 08:20:12
【问题描述】:
在使用 Google Drive Java API 传输文件所有权时,我一直在使用阻止通知电子邮件的功能。它运行良好,但现在最近开始出现通知。有什么改变了为什么 API 不再工作。有没有办法以其他方式阻止电子邮件或在这里做什么?
代码 sn-p 如下所示,其中我禁用了通知电子邮件:
Insert insert = service.permissions().insert(fileId, newPerm);
insert.setSendNotificationEmails(false);
newPerm = insert.execute();
我已经使用 AppEngine 1.9.4 和 1.9.5 以及多个 Drive API 版本 1.16、1.17 以及最新的 1.18-rc 进行了测试
【问题讨论】:
标签: google-app-engine google-drive-api