C++ SDK for Google Cloud APIs

472 views
Skip to first unread message

Yaroslav P.

unread,
Jul 14, 2017, 7:39:29 AM7/14/17
to Google Cloud Developers

Hello 

Being an experienced C++ developer, I am currently trying to find my feet in cloud development. Having completed a short introductory course and read some docs, I can't find anything for C++: neither libraries nor samples. Only languages like C#, Java, Python, Go, PHP, Ruby, and Node.js are mentioned. So I am wondering whether C++ is supported. 

I'm aware that Amazon provides AWS C++ SDK for their APIs. Is there something like that for Google Cloud?

Chris Sells

unread,
Jul 14, 2017, 12:11:44 PM7/14/17
to Google Cloud Developers
We have some C++ libs and some more C++ underway, but we don't have a lot of demand for the C++ libs. What is important to you in this are?

George (Cloud Platform Support)

unread,
Jul 14, 2017, 12:38:32 PM7/14/17
to Google Cloud Developers
Hello Yaroslav, 

Couldn't agree more! I was lacking this feature as well; C++ experience is most valuable and should not be lost in a cloud environment. You are right about the standard environment: C++ does not appear in the list of supported languages there. By contrast, the flexible environment supports "Any software that can service HTTP requests". You can find more detail on the "About Custom Runtimes" documentation page. If you build your own custom runtime, you can choose to use C++ to code your app, if you feel comfortable and proficient with it. 

Still, switching from C++ to Java should not represent a great challenge for you. There is a plethora of books and internet information available on the subject, as, for instance, this question from stackoverflow. 

You are welcome to come back with more specific questions. 

Yaroslav P.

unread,
Jul 14, 2017, 1:38:38 PM7/14/17
to Google Cloud Developers
Thank you for you replies. I am merely learning cloud development and trying to figure out what is best for me. At the moment I don't have any specific needs, but I'd like to know what I can do in C++. 
Switching to Java is indeed not challenging - I just don't like it. C++ gives me more freedom and efficiency. However, creating custom runtime for it sounds like rigmarole. 

George (Cloud Platform Support)

unread,
Jul 18, 2017, 9:31:39 AM7/18/17
to Google Cloud Developers
Hi Yaroslav, 

Creating a custom runtime can't be so overly involved, as it is described on one short page, namely on "Building Custom Runtimes". 

Matthew Sherborne

unread,
Dec 22, 2017, 11:06:58 AM12/22/17
to Google Cloud Developers
Is there a link to the C++ google cloud SDK ? even if it's a pre-alpha.

When I search for it, this post comes up.

I would like the service account oauth authentication and the datastore api.

The reason people will want it is, we already have a bunch of C++ apps, and now we want to integrate them into google cloud, and we don't want to have to make external calls.

I know we can use the REST APIs, but a bit of SDK powers would help speed up development.

For example generating the JWT for service account oauth: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatingjwt

Many Thanks
Matthew Sherborne
Reply all
Reply to author
Forward
0 new messages