我从教程https://developers.google.com/storage/docs/object-change-notification#_Application_Example做了一个演示。我还在云控制台中启用了 Google Cloud Storage JSON API。但我得到以下结果:
$ gsutil chacl -u math-box20@appspot.gserviceaccount.com:FC gs://test-mathbox
No changes to gs://test-mathbox/
$ gsutil notifyconfig watchbucket https://math-box20.appspot.com/ gs://test-mathbox
Watching bucket gs://test-mathbox/ with application URL https://math-box20.appspot.com/ ...
Failure: <HttpError 403 when requesting https://www.googleapis.com/storage/v1beta2/b/test-mathbox/o/watch?alt=json returned "Access Not Configured">.
其中,math-box20 是我的 GAE 应用程序的 id,而 test-mathbox 是 Google Cloud Storage 中的存储桶。你能帮我知道为什么吗?