Notifications 了解驱动器API通知事件
我已经在我的应用程序中实现了GoogleDrive推送通知机制 我面临的问题是,我总是将标题资源状态“X-Goog-resource-state”变为“changed” 我正在使用下面的代码创建频道Notifications 了解驱动器API通知事件,notifications,google-drive-api,Notifications,Google Drive Api,我已经在我的应用程序中实现了GoogleDrive推送通知机制 我面临的问题是,我总是将标题资源状态“X-Goog-resource-state”变为“changed” 我正在使用下面的代码创建频道 Channel channel = service.Changes.Watch(new Channel() { Address = channelAddress, Id = channelId, Token = token, Type = "web_hook", Expiration = Expir
Channel channel = service.Changes.Watch(new Channel() { Address = channelAddress, Id = channelId, Token = token, Type = "web_hook", Expiration = ExpiresIn }).Execute();
如果使用service.changes.watch,则只能看到更改
我的要求是我必须获得与文件/文件夹相关的所有更改,并且我需要确定文件/文件夹是否已上载/共享、更新或删除
有人能帮我解决我的问题吗
提前感谢…对于文件中的所有更改,您必须检查files.watch。检查此链接。此外,您还可以查看“试用”以查看示例请求和响应。谢谢您的评论