借助 Cloud Storage,您可以在全球范围内随时存储和检索任意数量的数据。您可以在各种各样的场景中使用 Cloud Storage,包括提供高性能 AI/机器学习和分析数据集、存储数据以用于归档和灾难恢复,或者向全球各地的使用方分发内容。了解详情
不确定哪种存储产品适合您?详细了解我们的存储服务。
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
面向 Azure 专业人员的 Google Cloud 基础知识
此课程将向 Azure 专业人员介绍 Google Cloud 的核心功能。
培训
培训和教程
面向 AWS 专业人员的 Google Cloud 基础知识
此课程将向 AWS 专业人员介绍 Google Cloud 的核心功能。
培训
培训和教程
控制台中的交互式演示教程
直接在 Cloud 控制台中浏览 Cloud Storage 快速入门。
使用场景
使用场景
托管静态网站
配置 Cloud Storage 存储桶以便为您拥有的网域托管静态网站。
网站托管
负载均衡器
静态资源
使用场景
使用场景
为受限于位置的工作负载设计灾难恢复架构
使用 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 交互的示例
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):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)"]]