简体   繁体   English

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

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

I am trying to have media data somewhere on the cloud and download them by my Android app.我正在尝试在云端某处拥有媒体数据并通过我的 Android 应用程序下载它们。 I found out that this should be done by the Google cloud platform.我发现这应该由谷歌云平台来完成。

But when I started to investigate I learned that I need to have Firebase storage first.但是当我开始调查时,我了解到我需要先拥有 Firebase 存储。 But do I still need the Cloud platform then?但是我还需要云平台吗? Isn't it the same thing?不是一样的吗?

To be honest I don't understand the difference between these two.老实说,我不明白这两者之间的区别。

So what is the difference and connection between the Google cloud platform and Firebase storage?那么谷歌云平台和Firebase存储有什么区别和联系呢? And how do they cooperate?以及他们是如何合作的?

Google Cloud Platform is a group of over 100 cloud based products offered by Google. Google Cloud Platform是由 Google 提供的 100 多种基于云的产品组成的组。 Instead of covering that, I'm going to assume you are asking about Google Cloud Storage , which is one of those 100+ products, and which deals with storing and retrieving files.我将假设您问的是 Google Cloud Storage ,它是 100 多种产品之一,用于存储和检索文件,而不是涵盖这些内容。

Cloud Storage has a set of APIs that you can call from a trusted environment, such as your development machine, a server that you control, or a serverless environment like Cloud Functions. Cloud Storage 有一组API ,您可以从可信环境调用这些API ,例如您的开发机器、您控制的服务器或 Cloud Functions 等无服务器环境。 It does not offer SDKs for direct access from client-side platforms such as Android.提供从客户端平台,如Android直接访问的SDK。

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. Firebase也是 Google 的一部分,是一个所谓的无服务器平台:它提供可直接在您的客户端应用程序代码中使用的 SDK。 In this specific scenario, Firebase offers SDKs that access Cloud Storage from Android, iOS and Web clients.在此特定场景中,Firebase 提供了可从 Android、iOS 和 Web 客户端访问 Cloud Storage 的 SDK

To allow you to secure access to the files in Cloud Storage, Firebase relies on authenticating the user , and then a set of server-side security rules that you configure and that define who can access what files .为了让您能够安全地访问 Cloud Storage 中的文件,Firebase 依赖于对用户进行身份验证,然后是一组您配置并定义 谁可以访问哪些文件服务器端安全规则

This combination of accessing Cloud Storage through Firebase is officially called Cloud Storage for Firebase, but often still referred to by its previous name of Firebase Storage.这种通过 Firebase 访问 Cloud Storage 的组合被正式称为 Cloud Storage for Firebase,但通常仍以其以前的名称 Firebase Storage 来指代。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Firebase云存储的StorageReference的putFile()和putStream()方法之间有什么区别? - What is the difference between putFile() and putStream() methods of StorageReference of Firebase cloud storage? Google Cloud Storage API 和 Google Drive API 有什么区别? - What is the difference between Google Cloud Storage API and Google Drive API? firebase的云存储带宽是多少? - What is bandwidth in cloud storage in firebase? 如何将 Firebase Admin SDK 添加到 Google Cloud Platform 并与应用程序通信? - How to add Firebase Admin SDK to a Google Cloud Platform and communicate with an app? 两个 Firebase 只链接到一个谷歌云平台? - Two Firebase linked to only one Google Cloud Platform? 谷歌云存储 - Google Cloud Storage 谷歌云存储问题 - google cloud storage issue Firebase 存储中的“getBytes()”和“getStream()”方法有什么区别? - What is the difference between 'getBytes()' and 'getStream()' methods in Firebase Storage? 当Google Cloud Storage消除Google Cloud Datastore中引用的实体时,删除对象的最佳实现是什么? - What is the best implementation to delete objects when Google Cloud Storage eliminate the entity referenced in Google Cloud Datastore Google Cloud Platform上的推荐系统 - Recommendation System on Google Cloud Platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM