I know it's possible to access Firebase from GCP cloud functions, but Java is not on the list of supported Languages.
https://firebase.google.com/docs/functions
I also know that it's in principle possible to write HTTP cloud functions in Java:
https://cloud.google.com/functions/docs/create-deploy-http-java
And lastly, I know that there is Android API (Java-based) for Firebase.
What I would like to do is to access data in the Firebase database from a Cloud Function written in Java. Is this possible at all, given the three facts listed above?
Can I, for instance, import Android API classes into my Java Cloud function, and hope that they will work? Sorry, I am Java back end and Swift developer, never developed for Android.