In general you would create your own App Engine endpoint APIs via Google 
Cloud Endpoints 
<https://cloud.google.com/endpoints/docs/frameworks/about-cloud-endpoints-frameworks>.
 
Your API can have individual URL endpoints for each of your tables (or a 
single URL endpoint that can accept a table name; however you decide to 
design it). Your clients would call your APIs via URL HTTP requests, and it 
will run your App Engine code accordingly (passing your App Engine 
application whatever request body and query parameter values the client 
sends in their HTTP request). 

In your App Engine code you would create different functions for each 
endpoint (or a single function for only a single endpoint) that would use 
the java.sql.DriverManager to connect to your Cloud SQL instance (as shown 
in the documented example 
<https://cloud.google.com/appengine/docs/standard/java/cloud-sql/using-cloud-sql-mysql>).
 
You can then modify your Cloud SQL instance's tables and data directly from 
App Engine based on the endpoint API your client requested and the values 
they passed to the endpoint.

- Note that Google Groups is reserved for general product discussions. For 
technical support on implementing the above, it is recommended to post 
detailed questions <https://stackoverflow.com/help/how-to-ask> to Stack 
Exchange <https://cloud.google.com/support/docs/stackexchange> using the 
supported Cloud tags. 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6b736feb-0612-4342-a8fa-bddb8bcd2fa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Syed Ali Naqi
    • [google-appen... 'Jordan (Cloud Platform Support)' via Google App Engine

Reply via email to