"Google拥有的服务"的定义Spark计划中的Firebase Cloud功能 [英] Definition of "Google-owned services" for Firebase Cloud Functions within the Spark plan

查看:66
本文介绍了"Google拥有的服务"的定义Spark计划中的Firebase Cloud功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Firebase的免费套餐(Spark计划)中的Firebase Cloud Functions不能发出任何出站请求,除非它们是"Google拥有的服务":

Firebase Cloud Functions within the free tier (Spark plan) of Firebase can't make any outbound requests unless they're to 'Google-owned services':

Spark计划仅允许对Google拥有的服务进行出站网络请求.[1]

The Spark plan allows outbound network requests only to Google-owned services.[1]

这很清楚,很有意义,在免费计划中允许随机的出站流量肯定很容易被滥用.但是,我正在努力寻找"Google拥有的服务"范围之内和之外的内容.这仅限于Firebase API和Google API吗?

This is pretty clear and makes sense, allowing random outbound traffic within the free plan would surely be vulnerable to misuse. However, I'm struggling to find what is and isn't in the scope of "Google-owned services". Is this only restricted to the Firebase API and Google APIs?

问这是因为例如* .firebase.com被阻止.

Asking this because *.firebase.com for instance is blocked.

[1] https://firebase.google.com/pricing/

推荐答案

因此,在联系Firebase支持人员之后,他们很高兴地向我介绍了Cloud Functions支持的Google Services.虽然这不是列入白名单的URL的概述,但它无疑有助于获得更好的图片.概述[1]:

So after contacting Firebase support, they kindly pointed me to an overview of which Google Services are supported by Cloud Functions. While this isn't an overview of whitelisted URL's, it certainly helps getting a better picture. The overview [1]:

  • 云存储
  • Cloud Bigtable
  • Cloud Spanner
  • 云数据存储区
  • 云机器学习平台
  • 云自然语言API
  • Cloud Speech API
  • 云翻译API
  • Cloud Vision API
  • Cloud BigQuery
  • 云发布/订阅
  • Stackdriver记录
  • Firebase(数据库,存储,分析,身份验证)
  • Cloud Storage
  • Cloud Bigtable
  • Cloud Spanner
  • Cloud Datastore
  • Cloud Machine Learning Platform
  • Cloud Natural Language API
  • Cloud Speech API
  • Cloud Translation API
  • Cloud Vision API
  • Cloud BigQuery
  • Cloud Pub/Sub
  • Stackdriver Logging
  • Firebase (DB, Storage, Analytics, Auth)

这说明了为什么我尝试访问的API无法正常工作;概述中未列出它.

This explains why the API I was trying to reach isn't working; it isn't listed in the overview.

[1] https://cloud.google.com/functions/docs/concepts /服务

这篇关于"Google拥有的服务"的定义Spark计划中的Firebase Cloud功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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