【问题标题】:Any difference between `gcloud app deploy index.yaml` and `gcloud datastore indexes create``gcloud app deploy index.yaml` 和 `gcloud datastore index create` 之间的任何区别
【发布时间】:2019-02-09 01:16:47
【问题描述】:

部署index.yaml,下面两条命令有什么区别?

  1. gcloud app deploy index.yaml

  2. gcloud datastore indexes create

【问题讨论】:

    标签: google-app-engine indexing google-cloud-platform google-cloud-datastore gcloud


    【解决方案1】:

    没有区别。两者存在的主要原因是 Cloud Datastore 曾经是 App Engine 特定的服务,因此所有索引操作都是通过该产品完成的。现在 Datastore 可以用作更通用的存储产品,因此它是 gcloud 中自己的命令组。将其保留在 gcloud app deploy 下只是为了方便现有 App Engine 用户。

    【讨论】:

    • 我能理解到目前为止发生的事情。谢谢!
    猜你喜欢
    • 2017-04-10
    • 1970-01-01
    • 2019-04-17
    • 2021-04-27
    • 2014-07-01
    • 1970-01-01
    • 2017-01-09
    • 1970-01-01
    • 2016-07-03
    相关资源
    最近更新 更多