
Google Cloud Certified Professional Cloud Developer Exam Guide
By :

In this section, we will review in detail how to interact with the Firestore database to create, update, obtain, and delete documents within our collections, from the installation of dependencies to the implementation of sample code to cover each of the operations.
In this section, we will use the Firebase Admin
library and the Node.js programming language for various examples of integration with Firestore.
To install the Firestore library in a Node.js project, we can use the following command:
npm install --save @google-cloud/firestore
In addition, it is necessary to assign the roles/datastore.owner
role to the service account that will be used to run the sample code.
If you need to use another programming language, go to the official Firebase documentation at https://firebase.google.com/docs/firestore.
Information stored in the Firestore NoSQL database...