Google云平台和Firebase存储有什么联系?

What is the connection between Google cloud platform and Firebase storage?

我正在尝试将媒体数据保存在云中的某处,并通过我的 Android 应用程序下载它们。我发现这应该由 Google 云平台来完成。

但是当我开始调查时,我了解到我需要先拥有 Firebase 存储。但是我还需要云平台吗?这不是一回事吗?

老实说,我不明白这两者之间的区别。

那么Google云平台和Firebase存储有什么区别和联系呢?他们又是如何合作的?

Google Cloud Platform is a group of over 100 cloud based products offered by Google. Instead of covering that, I'm going to assume you are asking about Google Cloud Storage,这是 100 多种产品之一,用于存储和检索文件。

Cloud Storage 有一组 APIs,您可以从受信任的环境(例如您的开发机器、您控制的服务器或 Cloud Functions 等无服务器环境)调用它们。它 提供 SDK 以便从 Android.

等客户端平台直接访问

Firebase is also part of Google, and is a so-called serverless platform: it offers SDKs that can be used directly within your client-side application code. In this specific scenario, Firebase offers SDKs that access Cloud Storage 来自 Android、iOS 和 Web 客户端。

为了让您能够安全地访问云存储中的文件,Firebase 依赖于authenticating the user, and then a set of server-side security rules that you configure and that define who can access what files

这种通过 Firebase 访问 Cloud Storage 的组合正式称为 Cloud Storage for Firebase,但通常仍使用其以前的名称 Firebase Storage。