透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Cloud Storage for Firebase
plat_ios
plat_android
plat_web
plat_flutter
plat_cpp
plat_unity
以快速又安全的方式建構Cloud Storage for Firebase
Google Cloud 基礎架構,適合需要儲存及提供服務的應用程式開發人員
使用者原創內容,例如相片或影片
Cloud Storage for Firebase 是功能強大、簡單易用且符合成本效益的物件
專為 Google 規模打造的儲存空間服務
Cloud Storage 的
Firebase SDK 新增 Google
Firebase 應用程式的檔案上傳和下載
這個網路品質
您可以使用我們的用戶端 SDK 儲存圖片、音訊、影片或其他
使用者自製內容在伺服器上,您可以使用 Firebase Admin SDK 執行下列操作:
管理值區及建立下載網址
Google Cloud Storage 個 API
來存取檔案。
準備好了嗎?選擇平台:
iOS 以上
Android
網站
Flutter
Unity
C++
主要功能
面面俱到的操作設計 |
「Cloud Storage」的 Firebase SDK 會上傳及下載
這個網路品質上傳檔案和下載作業都很穩定,也就是說,這些內容會重新開始
節省使用者的時間和頻寬
|
安全滴水不漏 |
「Cloud Storage」的 Firebase SDK 已與「Firebase Authentication」整合,以提供
提供簡單直覺的驗證機制您可以使用我們的
宣告式安全性模型,可根據檔案名稱、大小和內容允許存取
和其他中繼資料
|
高擴充性 |
Cloud Storage 適用於應用程式爆紅期間的 EB 規模。
使用相同的基礎架構輕鬆從設計原型到實際推出
Spotify 和 Google 相簿採用的技術。
|
運作原理
開發人員會使用 Cloud Storage 適用的 Firebase SDK 上傳及下載檔案
可以直接從客戶那裡取用如果網路連線不穩定,用戶端就能
從上次中斷的地方重試,既省時又能使用者
頻寬。
Cloud Storage for Firebase 將您的檔案儲存在
Google Cloud Storage 值區,
並可透過 Firebase 和 Google Cloud 存取。這樣一來
透過
Firebase 個適用於「Cloud Storage」的 SDK。另外,您也能在伺服器端處理
例如圖片篩選或影片轉碼
Google Cloud Storage API。
Cloud Storage 會自動擴充,表示您不需要
遷移至任何其他供應商進一步瞭解
整合 Google Cloud。
Cloud Storage 的 Firebase SDK 已與
Firebase Authentication 識別使用者,我們也會提供
可讓您設定的宣告式安全性語言
對個別檔案或檔案群組的存取權控管機制,讓你能將所有檔案設為
可以視需要公開或私人
實作路徑
想儲存其他類型的資料嗎?
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-24 (世界標準時間)。
[null,null,["上次更新時間:2025-07-24 (世界標準時間)。"],[],[],null,["Cloud Storage for Firebase \nplat_ios plat_android plat_web plat_flutter plat_cpp plat_unity \nCloud Storage for Firebase is built on fast and secure\nGoogle Cloud infrastructure for app developers who need to store and serve\nuser-generated content, such as photos or videos. \nCloud Storage for Firebase is a powerful, simple, and cost-effective object storage service built for Google scale. The Firebase SDKs for Cloud Storage add Google security to file uploads and downloads for your Firebase apps, regardless of network quality.\n\n\u003cbr /\u003e\n\nYou can use our client SDKs to store images, audio, video, or other\nuser-generated content. On the server, you can use the Firebase Admin SDK to\nmanage buckets and create download URLs, and use\n[Google Cloud Storage APIs](//cloud.google.com/storage/docs/reference/libraries)\nto access your files.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/storage/ios/start)\n[Android](/docs/storage/android/start)\n[Web](/docs/storage/web/start)\n[Flutter](/docs/storage/flutter/start)\n\n[Unity](/docs/storage/unity/start)\n[C++](/docs/storage/cpp/start)\n\nKey capabilities\n\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Robust operations | Firebase SDKs for Cloud Storage perform uploads and downloads regardless of network quality. Uploads and downloads are robust, meaning they restart where they stopped, saving your users time and bandwidth. |\n| Strong security | Firebase SDKs for Cloud Storage integrate with Firebase Authentication to provide simple and intuitive authentication for developers. You can use our declarative security model to allow access based on filename, size, content type, and other metadata. |\n| High scalability | Cloud Storage is built for exabyte scale when your app goes viral. Effortlessly grow from prototype to production using the same infrastructure that powers Spotify and Google Photos. |\n\nHow does it work?\n\nDevelopers use the Firebase SDKs for Cloud Storage to upload and download files\ndirectly from clients. If the network connection is poor, the client is able to\nretry the operation right where it left off, saving your users time and\nbandwidth.\n\nCloud Storage for Firebase stores your files in a\n[Google Cloud Storage](//cloud.google.com/storage) bucket,\nmaking them accessible through both Firebase and Google Cloud. This allows you\nthe flexibility to upload and download files from mobile clients via the\nFirebase SDKs for Cloud Storage. In addition, you can do server-side processing such\nas image filtering or video transcoding using the\n[Google Cloud Storage APIs](//cloud.google.com/storage/docs/reference/libraries).\nCloud Storage scales automatically, meaning that there's no need to\nmigrate to any other provider. Learn more about all the benefits of our\n[integration with Google Cloud](/docs/storage/gcp-integration).\n\nThe Firebase SDKs for Cloud Storage integrate seamlessly with\n[Firebase Authentication](/docs/auth) to identify users, and we provide a\n[declarative security language](/docs/storage/security) that lets you set\naccess controls on individual files or groups of files, so you can make files as\npublic or private as you want.\n\nImplementation path\n\n|---|------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|\n| | Integrate the Firebase SDKs for Cloud Storage. | Quickly include clients via Gradle, CocoaPods, or a script include. |\n| | Create a Reference | Reference the path to a file, such as \"images/mountains.png\", to upload, download, or delete it. |\n| | Upload or Download | Upload or download to native types in memory or on disk. |\n| | Secure your Files | Use [Firebase Security Rules for Cloud Storage](/docs/storage/security) to secure your files. |\n| | (Optional) Create and Share Download URLs | Use the [Firebase Admin SDK](/docs/storage/admin/start) to generate shareable URLs to let users download objects. |\n\nLooking to store other types of data?\n\n- [Cloud Firestore](/docs/firestore) is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud.\n- The [Firebase Realtime Database](/docs/database) stores JSON application data, like game state or chat messages, and synchronizes changes instantly across all connected devices. To learn more about the differences between database options, see [Choose a database: Cloud Firestore or Realtime Database](/docs/firestore/rtdb-vs-firestore).\n- [Firebase Remote Config](/docs/remote-config) stores developer-specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.\n- [Firebase Hosting](/docs/hosting) hosts the HTML, CSS, and JavaScript for your website as well as other developer-provided assets like graphics, fonts, and icons.\n\nNext steps\n\n- Upload your first file to Cloud Storage using our quickstarts for [iOS](https://github.com/firebase/quickstart-ios), [Android](https://github.com/firebase/quickstart-android), [Web](https://github.com/firebase/quickstart-js), [C++](https://github.com/firebase/quickstart-cpp), or [Unity](https://github.com/firebase/quickstart-unity).\n- Add Cloud Storage to your [Apple](/docs/storage/ios/start), [Android](/docs/storage/android/start), [Web](/docs/storage/web/start), [C++](/docs/storage/cpp/start) or [Unity](/docs/storage/unity/start) app.\n- Learn about how to secure your files using [Firebase Security Rules for Cloud Storage](/docs/storage/security).\n- Add powerful new features such as image recognition or speech to text by [integrating with Google Cloud](/docs/storage/gcp-integration)."]]