【问题标题】:Don't send email notification when ACL modified for Google Doc为 Google Doc 修改 ACL 时不发送电子邮件通知
【发布时间】:2012-07-12 15:54:27
【问题描述】:

我正在尝试找到 Java 的做法: https://developers.google.com/google-apps/documents-list/#email_notifications_of_acl_changes

POST @987654322@

这样在添加/修改 ACL 时不会发送电子邮件。

【问题讨论】:

    标签: google-docs-api google-drive-api


    【解决方案1】:

    您可以使用较新的 Drive API 执行相同的任务,该 API 在 https://developers.google.com/drive/v2/reference/permissions/insert 上有完整的 Java 示例。

    你必须使用Drive.Permissions.InsertsetSendNotificationEmails方法。

    【讨论】:

    • 不幸的是,我的应用程序很大程度上基于 Google Document List API。在这个后期阶段是不可能重写它的。您能否建议如何使用 Google Document List API 执行此操作。
    • 对现有应用程序使用 Google Documents List API 的任何方式。 Google Drive API 不是一个选项。
    • 不幸的是,文档列表 API 的 Java 客户端库没有公开该选项。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-05-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多