https://github.com/melezhik/gcp-data-store-bookshelf
An Example of Ruby API for Google Gloud DataStore
https://github.com/melezhik/gcp-data-store-bookshelf
examples google-cloud google-cloud-datastore ruby
Last synced: 17 days ago
JSON representation
An Example of Ruby API for Google Gloud DataStore
- Host: GitHub
- URL: https://github.com/melezhik/gcp-data-store-bookshelf
- Owner: melezhik
- Created: 2017-11-10T12:16:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T12:16:14.000Z (over 7 years ago)
- Last Synced: 2025-04-10T01:17:37.833Z (17 days ago)
- Topics: examples, google-cloud, google-cloud-datastore, ruby
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SYNOPSIS
An Example of Ruby API for Google Gloud DataStore.
# INSTALL
$ sparrow plg install gcp-data-store-bookshelf
# USAGE
$ export GOOGLE_CLOUD_KEYFILE=/path/to/json/file
# list bookshelf entries:
$ sparrow plg run gcp-data-store-bookshelf --param project_id=$project_id# add bookshelf entry:
$ sparrow plg run gcp-data-store-bookshelf \
--param project_id=$project_id --param action=add \
--param title="War and Peace" \
--param author="Лев Николаевич Толстой" \
--param desciption="School Reading"# Parameters
## project_id
Should be a Google project ID
# Author
Alexey Melezhik
# See also
* [Cloud Datastore Client Libraries](https://cloud.google.com/datastore/docs/reference/libraries)
* [Google Cloud Authentication](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/v0.44.0/guides/authentication)