Google Cloud DataStore automatic indexing

≡放荡痞女 提交于 2019-12-17 06:18:14

问题


I'm working on a project with already deployed indexing to google cloud datastore. We are missing index.yaml, is it possible to recreate index.yaml automatically?


回答1:


You can view the deployed version of the index.yaml if it was uploaded together with your (standard environment) application code, typically with the default service/module.

There is a Diagnose column in the table on the developer console's Versions page and a Tools drop-down menu for each service version row, with a Source option under it:

Selecting that option directs you to the StackDriver page for the service, where you can see the code for the respective deployed service. Navigate to and select the index.yaml file in the left-side column and you'll have the content of the file, which you can copy-paste into your local copy of the file.

Update: accessing the app code is also possible directly from the app's Dashboard page when the respective app service is selected:



来源:https://stackoverflow.com/questions/47498821/google-cloud-datastore-automatic-indexing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!