Reputation: 20101
We are setting up a new project/environment in Google Cloud for our application. The applications uses Firestore which is being setup in the new project.
How do you determine which Firestore mode the current Firstore is running in?
When you navigate to Firestore in a new project you are presented with an option, select Firestore mode, Native Mode or Datastore Mode. The goal is to ensure the new environment being setup is the same as the current one.
Upvotes: 4
Views: 809
Reputation: 9159
One more option is to go to GCP Console, search for "Firestore" page and check the "Mode" column.
Upvotes: 2
Reputation: 3443
Adding to the answer above, if you'd like to check this using Cloud SDK via command line you can
gcloud firestore databases list
and look for the type
parametergcloud firestore databases list --format="value(type)"
which will output the type directlyUpvotes: 1
Reputation: 8074
When you check the Firestore in the Google Cloud Console Navigation menu, you will see Firestore for Native Mode (Firestore API), and Datastore for Datastore Mode (Datastore API).
Upvotes: 3