我正在尝试使用 Google Cloud Datastore 访问我的 Google App Engine 应用程序的数据。我按照标题为“现有 App Engine 应用程序的 Google Cloud Datastore”部分中的步骤操作。启动 GCE VM 后,我尝试从应用程序中读取数据,但得到了堆栈跟踪:
Traceback (most recent call last):
File "datastore_test.py", line 30, in <module>
get()
File "datastore_test.py", line 21, in get
resp = datastore.lookup(req)
File "/usr/local/lib/python2.7/dist-packages/googledatastore-v1beta1_rev1_1.0.0-py2.7.egg/googledatastore/__init__.py", line 66, in lookup
return get_default_connection().lookup(request)
File "/usr/local/lib/python2.7/dist-packages/googledatastore-v1beta1_rev1_1.0.0-py2.7.egg/googledatastore/connection.py", line 82, in lookup
datastore_v1_pb2.LookupResponse)
File "/usr/local/lib/python2.7/dist-packages/googledatastore-v1beta1_rev1_1.0.0-py2.7.egg/googledatastore/connection.py", line 207, in _call_method
raise RPCError(method, response, content)
googledatastore.connection.RPCError: lookup RPC client failure with HTTP(403) Forbidden: Access Not Configured
如何配置对我的数据的访问?