Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/syslogic/google-apps-script

Google Apps Script
https://github.com/syslogic/google-apps-script

cloud-datastore google-apps-script

Last synced: 4 months ago
JSON representation

Google Apps Script

Lists

README

        

# CloudDatastore.gs
CloudDatastore.gs is a client for Google Cloud Datastore, which runs as a Service Account.

It is written in Google Apps Script - and so far, it can select, insert, update and delete entities.

## Setup

a) Add the script to https://script.google.com

b) Add the `OAuth2 for Apps Script` library: `1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF`.

c) Upload the service account configuration file to your Google Drive (to be downloaded from https://console.cloud.google.com/project/_/iam-admin and then uploaded to https://drive.google.com).

The service account needs to have the "Cloud Datastore User" role asigned.

d) Adjust the script according to the filename of the configuration file.

## Reference

@see https://github.com/googlesamples/apps-script-oauth2

@see https://stackoverflow.com/questions/49112189/49113976#49113976

@see https://cloud.google.com/datastore/docs/reference/data/rest/