Hi Kenworth,
Thanks for the reply.
As I said I am using the Firebase Database secrets to make calls between GAE and Firebase Database. I do not have any problem over that, My problem is the Hosted API on GAE. That API is not secure, anyone with the API endpoints and URL structure can query it on their browsers. So I want to secure it so that it can be only be accessed by the iOS application on phone and by some IP address. I got your only solution, I can restrict that using Firewalls but by doing that my application also cannot use it too.
Hope I am clearly describing the problem.
Thanks