Google Cloud Project
Google Cloud Datastore is a NoSQL Database as a Service (DBaaS) that provides developers with a scalable replicated database that is fully managed by Google.
For its initial setup you need to either have an existing Google Cloud Platform (GCP) project, or create a new one. Cloud Datastore has a free tier, so you do not need to configure billing information at this time. You can select or create a project here: https://console.cloud.google.com/project
Once you have a project, it’s ready to go. Navigate to the Datastore tab in the Cloud console and you will be able to manually create entities in your instance.
Cloud Datastore can be access from Compute Engine or Container Engine via a variety of client libraries.
To install the client libraries:
Install-Package Google.Datastore.V1 -Pre
go get cloud.google.com/go/datastore
npm install --save @google-cloud/datastore
composer require google/cloud
pip install --upgrade google-cloud-datastore
gem install google-cloud-datastore
- If you use Maven, add the following to your pom.xml file:
<dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-datastore</artifactId> <version>0.7.0</version> </dependency>
- If you use Gradle, add the following to your dependencies:
compile group: 'com.google.cloud', name: 'google-cloud-datastore', version: '0.7.0'
More information can be found in the official documentation for client libraries.
if you want to reproduce, please indicate the source:
Getting started with google-cloud-datastore – Initial Setup - CodeDay