Google Cloudデータストアの説明
-
21-12-2019 - |
質問
私はAppEngineデータストアを知っています、そしてCloud Datastoreを使用して、クラウドデータストアは常に私にとって混乱しています、以下の質問です:
- Cloud DataStoreはCompute Engineを必要としますか? (Google Docsでは、Compute Engineを有効にするのが好きです)
- AppEngineアプリケーションからクラウドデータストアにアクセスする方法(これは非常に必要です)
- 複数のアプリケーションがこの共通データストアにアクセスできるようにする方法?
注:私はそれを起動する方法を知っていますが、私は上記の私の質問に対して明確な答えを得ませんでした。
解決 2
Atlast, i can able to access from cloud datastore from appengine application, following are my answer,
Ans For Ques 1:
Cloud Datstore doesn't require compute engine instance.
Ans for Ques 2:
To access cloud datastore, you need either service account credentials or u must have access token for authenticated user with Scopes set to Datastore, and user email.
Use Google api Client library,or simply use ProtoBuf library provided in documentation.
Ans for Ques 3:
simply use create credentials from application u want to access and use it in other applications
https://developers.google.com/datastore/docs/getstarted/overview
Thanks!
他のヒント
あなたの質問:
1)いいえ、クラウドデータストアはその他のプラットフォーム
2)App Engineは(クラウド)href="https://developers.google.com/appenthine/docs/java/datastore/ "refers/java/datastore/" doclow">データストア。Cloud DataStoreは、App Engineデータストアに基づいています。
3)クラウドデータストアを共有できますが、この問題を参照されたい。/ a>