从Firebase函数调用AppEngine [英] Calling AppEngine from Firebase Functions

查看:187
本文介绍了从Firebase函数调用AppEngine的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到任何有关如何从
Firebase函数调用App Engine服务的资源

我知道我可以通过URL调用它,但在这种情况下,它将是外部电话,它会收取费用。



除了每个视频他们说可以访问Google API的
我是否了解它不好或有一个针对App Engine的API调用?



谢谢!

解决方案

您无法通过您的Google Cloud Project的专用网络在内部访问App Engine服务 。只有特定产品在您的虚拟私有云中互相连接,如此处所述。



App Engine的API可以有两个含义: Google App Engine管理API - 可让您管理您的App Engine通过REST API服务以编程方式进行部署。通过控制台(网络浏览器)提供的所有交互以及更多可通过这些API端点获得。 Google的 API浏览器是一种工具,它可以带来您可以启用 nofollow noreferrer>您自己的API端点,以获取您在App Engine中部署的服务 - 这次是您定义实际端点的内容以及如何处理对端点的请求(即通过您的App Engine应用程序)。这些仍然是Firebase和App Engine之间的外部调用。他们将通过互联网。


I couldn't find any resource about how to call an App Engine Service from a Firebase function
I know I could call it by the URL but in that case it would be an external call and it would apply charges to it.

Besides in every video they say it's posible to access Google API's Did I understand it bad or there is a API call for App Engine?

Thanks!

解决方案

You cannot access the App Engine service internally, through the private network of your Google Cloud Project. Only specific Products are interconnected in your Virtual Private Cloud, as specified here.

The API for App Engine can have two meanings:

  1. The Google App Engine Admin API - this allows you to manage your App Engine deployments programmatically through a REST API service. All the interactions available through the Console (web browser), and maybe more, are available through these API endpoints. Google's API Explorer is a tool which brings together all available API endpoints for Google services.

  2. You can enable your own API endpoints for the services that you have deployed in your App Engine - this time it is you who defines what will the actual endpoints be and how requests to that endpoints are treated (i.e. by your App Engine app). These are still external calls between Firebase and App Engine. They will go through the Internet.

这篇关于从Firebase函数调用AppEngine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆