You could create a new Cloud Firestore database, where you can configure the database instance to run in Datastore mode which makes the database backwards-compatible with Cloud Datastore.
Cloud Firestore in Datastore mode uses Cloud Datastore system behavior but accesses Cloud Firestore's storage layer, removing the following Cloud Datastore limitations:
-
Eventual consistency, all Cloud Datastore queries become strongly consistent.
-
Transactions are no longer limited to 25 entity groups.
-
Writes to an entity group are no longer limited to 1 per second.
Datastore mode disables Cloud Firestore features that are not compatible with Cloud Datastore:
-
The project will accept Cloud Datastore API requests and deny Cloud Firestore API requests.
-
The project will use Cloud Datastore indexes instead of Cloud Firestore indexes.
-
You can use Cloud Datastore client libraries with this project but not Cloud Firestore client libraries.
-
Cloud Firestore real-time capabilities will not be available.
-
In the GCP Console, the database will use the Cloud Datastore viewer.