Google api 集成G套件时未从google drive api获取文档更新通知调用

Google api 集成G套件时未从google drive api获取文档更新通知调用,google-api,google-drive-api,google-docs-api,google-workspace,Google Api,Google Drive Api,Google Docs Api,Google Workspace,我正在尝试将GoogleDrive api与我的web应用程序集成,我在获取更新文档的通知时遇到了问题。我收到垃圾和同步通知,但在更新文档的情况下,我没有收到任何通知 我已经按照中的说明配置了所有内容,如果有人知道我的问题,请帮助我 请在下面找到我在Google drive中编辑/更新文档文件时为获得通知而实现的端点 @RequestMapping("/notifications") public ResponseEntity<String> postNotification(H

我正在尝试将GoogleDrive api与我的web应用程序集成,我在获取更新文档的通知时遇到了问题。我收到垃圾和同步通知,但在更新文档的情况下,我没有收到任何通知

我已经按照中的说明配置了所有内容,如果有人知道我的问题,请帮助我

请在下面找到我在Google drive中编辑/更新文档文件时为获得通知而实现的端点

 @RequestMapping("/notifications")
 public ResponseEntity<String> postNotification(HttpServletRequest request)
 {
  log.info("==========in notification start===============");
  for (Enumeration<?> e = request.getHeaderNames(); e.hasMoreElements();)
  {
   String nextHeaderName = (String) e.nextElement();
   String headerValue = request.getHeader(nextHeaderName);

   log.info("nextHeaderName=" + nextHeaderName);
   log.info("headerValue=" + headerValue);
   log.info("================");
  }
  log.info("==========in notification end===============");
  return ResponseEntity.status(200).build();
 }
@RequestMapping(“/notifications”)
公共响应性后通知(HttpServletRequest)
{
log.info(“==========================================================”);
for(枚举e=request.getHeaderNames();e.hasMoreElements();)
{
字符串nextHeaderName=(字符串)e.nextElement();
字符串headerValue=request.getHeader(下一个域名);
log.info(“nextHeaderName=“+nextHeaderName”);
log.info(“headerValue=“+headerValue”);
日志信息(“===============================”);
}
log.info(“=============================================================”);
返回ResponseEntity.status(200.build();
}

您的代码看起来是什么样子的,不起作用?请提供一份说明问题的文件。@Mr.Rebot我已经编辑并输入了我的终点代码,在我打开文档文件并开始编辑后,我没有收到通知电话。