Cloud Storage 可讓您隨時從世界各地儲存及擷取不限數量的資料。Cloud Storage 適用於多種情況,包括提供高效能的 AI/ML 和分析資料集、儲存資料以供封存和災難復原之用,或是將內容發布給全球消費者。瞭解詳情
不確定哪種儲存裝置適合您嗎?進一步瞭解我們的儲存空間服務。
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
訓練
訓練與教學課程
Azure 專業人士適用的 Google Cloud 基礎知識
本課程將向 Azure 專業人員介紹 Google Cloud 的核心功能。
訓練
訓練與教學課程
Google Cloud 基礎知識:AWS 專業人士適用
本課程將向 AWS 專業人員介紹 Google Cloud 的核心功能。
訓練
訓練與教學課程
控制台中的互動式逐步操作教學課程
直接在 Cloud 控制台中逐步完成 Cloud Storage 快速入門導覽課程。
用途
用途
託管靜態網站
設定 Cloud Storage bucket,託管自有網域的靜態網站。
網站託管
負載平衡器
靜態資源
用途
用途
為位置受限的工作負載建立災難復原架構
透過 Google Cloud 建立災難復原 (DR) 架構,以便滿足位置專屬規定。
災難復原
自動化
網路
程式碼範例
程式碼範例
C++ 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
.Net 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
Go 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
Java 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
Node.js 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
PHP 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
Python 範例
與 Cloud Storage 互動的範例
程式碼範例
程式碼範例
Ruby 範例
與 Cloud Storage 互動的範例
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-05 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Cloud Storage documentation\n===========================\n\n[Read product documentation](/storage/docs/introduction)\nCloud Storage allows world-wide storage and retrieval of any amount of\ndata at any time. You can use Cloud Storage for a range of scenarios\nincluding serving high performance AI/ML and analytics data sets, storing data for archival and\ndisaster recovery, or distributing content to consumers across the globe.\n[Learn more](/storage/docs/introduction)\n\n\nNot sure which storage product is right for you? Learn more about our\n[storage services](/products/storage).\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n\n Quickstarts:\n [Console](/storage/docs/discover-object-storage-console)\n or\n [gcloud CLI](/storage/docs/discover-object-storage-gcloud)\n\n\n-\n\n [Creating storage buckets](/storage/docs/creating-buckets)\n\n-\n\n [Storage classes](/storage/docs/storage-classes)\n\n-\n\n [Bucket locations](/storage/docs/locations)\n\n-\n\n [Uploading objects](/storage/docs/uploading-objects)\n\nfind_in_page\n\n### Reference\n\n-\n\n [Cloud Storage Client Libraries](/storage/docs/reference/libraries)\n\n-\n\n [gcloud CLI reference](/sdk/gcloud/reference/storage)\n\n-\n\n [gsutil tool reference](/storage/docs/gsutil)\n\n-\n\n [JSON API reference](/storage/docs/json_api)\n\n-\n\n [XML API reference](/storage/docs/xml-api/overview)\n\n-\n\n [IAM references for Cloud Storage](/storage/docs/access-control/iam-reference)\n\ninfo\n\n### Resources\n\n-\n\n [Cloud Storage pricing](/storage/pricing)\n\n-\n\n [Quotas and limits](/storage/quotas)\n\n-\n\n [Troubleshooting](/storage/docs/troubleshooting)\n\n-\n\n [Release notes](/storage/docs/release-notes)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Google Cloud Fundamentals for Azure Professionals\n\n\nThis course introduces Azure professionals to the core capabilities of Google Cloud.\n\n\n[Learn more](http://cloud.google.com/training/course/gcp-fundamentals-azure) \nTraining \nTraining and tutorials\n\n### Google Cloud Fundamentals for AWS Professionals\n\n\nThis course introduces AWS professionals to the core capabilities of Google Cloud.\n\n\n[Learn more](http://cloud.google.com/training/course/gcp-fundamentals-aws) \nTraining \nTraining and tutorials\n\n### Interactive walkthrough tutorial in the Console\n\n\nWalk through the Cloud Storage quickstart directly in the Cloud console.\n\n\n[Learn more](?walkthrough_id=storage--quickstart-basic-tasks) \nUse case \nUse cases\n\n### Hosting a static website\n\n\nConfigure a Cloud Storage bucket to host a static website for a domain you own.\n\nWeb hosting Load balancer Static resources\n\n\u003cbr /\u003e\n\n[Learn more](/storage/docs/hosting-static-website) \nUse case \nUse cases\n\n### Architecting disaster recovery for locality-restricted workloads\n\n\nUse Google Cloud to architect for disaster recovery (DR) to meet location-specific requirements.\n\nDisaster recovery Automation Networking\n\n\u003cbr /\u003e\n\n[Learn more](/solutions/architecting-disaster-recovery-for-locality-restricted-workloads) \nCode sample \nCode Samples\n\n### C++ samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/googleapis/google-cloud-cpp/tree/master/google/cloud/storage/examples) \nCode sample \nCode Samples\n\n### .Net samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/dotnet-docs-samples/tree/master/storage/api/Storage.Samples) \nCode sample \nCode Samples\n\n### Go samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/storage) \nCode sample \nCode Samples\n\n### Java samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/googleapis/java-storage/tree/master/samples/snippets/src/main/java/com/example/storage) \nCode sample \nCode Samples\n\n### Node.js samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/googleapis/nodejs-storage/tree/master/samples) \nCode sample \nCode Samples\n\n### PHP samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/php-docs-samples/tree/main/storage/src) \nCode sample \nCode Samples\n\n### Python samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/googleapis/python-storage/tree/main/samples) \nCode sample \nCode Samples\n\n### Ruby samples\n\n\nSamples for interacting with Cloud Storage\n\n\n[Open GitHub\narrow_forward](https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-storage/samples)\n\n### Try Cloud Storage for yourself\n\nCreate an account to evaluate how our products perform in real-world scenarios. \nNew customers also get $300 in free credits to run, test, and deploy workloads. \n[Try Cloud Storage free](https://console.cloud.google.com/freetrial)"]]