Enable/Disable Google Cloud Datastore 通过 gcloud 写入
Enable/Disable Google Cloud Datastore writes through gcloud
根据我的研究,无法将 gcloud 命令 运行 写入标准 AppEngine 项目的 disable/enable 数据存储区。任何人都可以确认吗?
知道这是否是永远无法获得的东西,因为它与低端数据存储管理或类似的东西有关吗?
你的观察与我的一致。唯一记录的禁用数据存储写入的方法是通过数据存储管理页面。来自 Enabling or disabling Cloud Datastore writes:
To enable or disable Cloud Datastore writes:
- Go to the Admin page.
- Click Enable writes to enable writes, or Disable writes to disable writes. The button text varies, depending on the state of your
project.
但请注意,它并不完全有效:
Note: The Cloud Datastore API does not allow forcing writes when writes are disabled. However, App Engine client libraries allow
forcing writes even if writes are disabled. So an application written
with the App Engine client libraries could modify your Cloud Datastore
instance while writes are disabled.
我在以下任何一个中都没有提到这种能力:
我真的无法评论未来的计划,但是没有什么能阻止您向 Cloud SDK Issue tracker 提交功能请求。考虑到自动化在 sw 开发中的重要性,我不认为这是不合理的。
根据我的研究,无法将 gcloud 命令 运行 写入标准 AppEngine 项目的 disable/enable 数据存储区。任何人都可以确认吗? 知道这是否是永远无法获得的东西,因为它与低端数据存储管理或类似的东西有关吗?
你的观察与我的一致。唯一记录的禁用数据存储写入的方法是通过数据存储管理页面。来自 Enabling or disabling Cloud Datastore writes:
To enable or disable Cloud Datastore writes:
- Go to the Admin page.
- Click Enable writes to enable writes, or Disable writes to disable writes. The button text varies, depending on the state of your project.
但请注意,它并不完全有效:
Note: The Cloud Datastore API does not allow forcing writes when writes are disabled. However, App Engine client libraries allow forcing writes even if writes are disabled. So an application written with the App Engine client libraries could modify your Cloud Datastore instance while writes are disabled.
我在以下任何一个中都没有提到这种能力:
我真的无法评论未来的计划,但是没有什么能阻止您向 Cloud SDK Issue tracker 提交功能请求。考虑到自动化在 sw 开发中的重要性,我不认为这是不合理的。