Tadzys
Tadzys

Reputation: 1092

Confusion with Google Cloud Platform and Google Cloud Storage API's

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.

Upvotes: 2

Views: 509

Answers (1)

cybermaggedon
cybermaggedon

Reputation: 31

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.

Upvotes: 0

Related Questions