如何使用API​​/命令行启用Cloud Firestore纯模式? [英] How to enable Cloud Firestore Native Mode using API / command line?

查看:48
本文介绍了如何使用API​​/命令行启用Cloud Firestore纯模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写用于设置Google Cloud项目的脚本,我想使用Firestore.但是,默认情况下,新项目为数据存储模式.

I'm writing a script for setting up a Google Cloud project and I'd like to use Firestore. A new project, however, is by default in Datastore mode.

使用云控制台中的Web界面可以轻松地切换到Firestore,但我想实现自动化.有没有启用它的API或命令行工具(gcloud?firebase?)?

Switching to Firestore can easily be done using the web interface in the cloud console but I'd like to automate it. Is there any API or command line tool (gcloud? firebase?) for enabling it?

推荐答案

不幸的是,截至今天(2019年4月30日),还没有API或命令行来设置Cloud Firestore的模式.

Unfortunately, as of today (30 Apr 2019), there is no API or command line to set the mode for Cloud Firestore.

这篇关于如何使用API​​/命令行启用Cloud Firestore纯模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆