2

I am new with google cloud platform and trying to get started. I am interested in using Google Cloud storage. Following this link: datastore reference I can see available client libraries (c++ is not one of them)

Now there is google api c++ client: google api c++ client and it has "Google Cloud Datastore API" as one of the service api's available.

And then there is this link: https://developers.google.com/api-client-library/cpp/

which just says:

"The Google APIs C++ Client Library is no longer available. Thank you for your interest."

That got me a bit confused. As I would like to use cloud DataStore via native c++ api.

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Tadzys
  • 1,044
  • 3
  • 16
  • 22
  • You might be able to get help from the support forum (https://groups.google.com/forum/#!forum/google-api-cpp-client) though it's not an official Google channel. – jarmod Dec 21 '16 at 14:20
  • Note that Google Cloud Storage is not similar to Google Cloud Datastore: one is a file storage (https://cloud.google.com/storage/) while the other is a NoSQL database (https://cloud.google.com/datastore/) – Renaud Tarnec Dec 21 '16 at 15:08
  • @3371862 thanks for pointing out, I meant I want to use DataStore (nosql db) I will change my question – Tadzys Dec 21 '16 at 15:13

1 Answers1

0

If you're willing to do quite a bit of work you can interact with the REST API directly using whatever technology you like. You'll need to do understand how to generate an OAUTH2 credential and how the OAUTH2 scopes etc. work. You can then create an OAUTH2 cookie for the Authorization header. Once you're on top of the that the Google APIs helps you navigate the APIs and work out the expected requests and responses:

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

The REST guide lets you try out calls yourself too.