July 02, 2025, 07:01:43 AM
Main Menu
Main Menu
Home
Search
Four Js Development Tools Forum
►
General
►
General Discussion
►
library for accessing Google Cloud Storage APIs
library for accessing Google Cloud Storage APIs
Started by Francois G., September 08, 2021, 10:45:59 AM
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Francois G.
Posts: 20
library for accessing Google Cloud Storage APIs
September 08, 2021, 10:45:59 AM
Hi,
Using Genero BDL 3.10, is there any existing 4GL code that can be used to access Google Cloud Storage APIs?
Should I install the Google C++ client library, write a C adapter library, and then import that in my 4GL code?
Regards,
Francois G.
Posts: 20
Re: library for accessing Google Cloud Storage APIs
#1
September 08, 2021, 10:50:51 AM
There is also a Google Java library, which the Genero 4GL might be able to use more readily, without much need for an intermediate adapter library.
Would anybody have any experience with Genero 4GL code that uses C++ / Java libraries?
Regards,
Sisavanh S.
Posts: 80
Re: library for accessing Google Cloud Storage APIs
#2
September 08, 2021, 11:18:03 AM
Hi,
I'm not familiar with these "Google Cloud Storage APIs".
From what I read:
https://cloud.google.com/storage/docs/apis
Indeed, you could try the Java interface that should work with Genero:
https://googleapis.dev/java/google-cloud-storage/latest/index.html
The other option is the REST apis with JSON or XML:
https://cloud.google.com/storage/docs/json_api
https://cloud.google.com/storage/docs/xml-api/overview
As Google does not provide a service description (WSDL or openapi) we cannot automatically generate the client stubs.
You will need implement the client functions with GWS low level apis. That can be done with your 3.10 version.
You might mis a PATCH verb for some apis. PATCH is only available with V4.
Depending on the number of Google apis you use that could be quite fast as Google provide request/response samples.
About the OAuth authentication you have a simple in $FGLDIR/web_utilities/services/openid-connect.
Maybe you can contact our professional services and see if they can help you.
Best regards,
Sisa.
Francois G.
Posts: 20
Re: library for accessing Google Cloud Storage APIs
#3
September 08, 2021, 11:37:31 AM
Thanks a lot
jhon a.
Posts: 1
Re: library for accessing Google Cloud Storage APIs
#4
December 16, 2021, 11:06:24 AM
Thanks for your information
Print
Go Up
Pages
1
User actions
Four Js Development Tools Forum
►
General
►
General Discussion
►
library for accessing Google Cloud Storage APIs
User actions
Print