Need advice on architecture of my program

51 views
Skip to first unread message

simon lin

unread,
Aug 23, 2017, 9:24:14 PM8/23/17
to Google App Engine
Hi,

I'm new to Google Cloud, so I'm not sure if I should post my question in this group, please let me know if not right.

I'm developing a desktop application which will call some Google Cloud Translate APIs, and I need to take care of something on Google Cloud side after receiving the request from my application but before the Translate API is called.
Put it in another way:
1. my application sends a request to Google Cloud to call API
2. Google Cloud receives the request (Now, I want to do something here)
3. Google Cloud API is called

Is this possible? If yes, would you please give me an idea how I should implement it?

Any help will be appreciated.

Simon

Kenworth (Google Cloud Platform)

unread,
Aug 23, 2017, 11:28:35 PM8/23/17
to Google App Engine
It is very possible and here is an example:

1- Send a request to Datastore API to create some entry.

2.1- Send a request to Datastore API to update same entry.
2.2- Send a request to Datastore API to query the updated entry.

3- Use Google Cloud Translate API to translate a value of the fetched entry in #2.2
 
Google Cloud APIs are independent from each other. Just like the above example, you can modify the entry as much as you want and call the Translation API at the end.  

You can always refer to our Community Support guide for the proper forum to post questions. 

simon lin

unread,
Aug 24, 2017, 9:07:10 AM8/24/17
to Google App Engine
Awesome! What a brilliant idea!

Thank you Kenworth.
Have a great day!

Simon
Reply all
Reply to author
Forward
0 new messages