Batch 是一項全代管服務,可讓您在自動佈建的 Google Cloud 資源中,排定時間、排入佇列和執行批次處理工作。瞭解詳情。
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
訓練
訓練與教學課程
使用 Workflows 執行 Batch 工作
使用 Workflows 自動化調度 Batch 工作和其他服務,按照您定義的順序執行。
程式碼範例
程式碼範例
範例工作
一組範例工作指令碼和容器,內含程式碼範例和逐步教學課程,可協助您瞭解如何使用 Batch。
程式碼範例
程式碼範例
Cloud 用戶端程式庫的所有範例
瀏覽 Batch 適用的所有 Cloud 用戶端程式庫範例。
程式碼範例
程式碼範例
Go 範例
這是一組使用 Go 適用的 Cloud 用戶端程式庫的範例。
程式碼範例
程式碼範例
Java 範例
使用 Java 適用的 Cloud 用戶端程式庫的一系列範例。
程式碼範例
程式碼範例
Node.js 範例
這是一組使用 Node.js 適用的 Cloud 用戶端程式庫的範例。
程式碼範例
程式碼範例
Python 範例
使用 Python 適用的 Cloud 用戶端程式庫的一系列範例。
除非另有註明,否則本頁面中的內容是採用創用 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 (世界標準時間)。"],[[["\u003cp\u003eBatch is a fully managed service for scheduling, queuing, and executing batch processing jobs on automatically provisioned Google Cloud resources.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive documentation is available, including quickstarts, guides for job creation, execution, and troubleshooting, as well as references for gcloud commands and REST APIs.\u003c/p\u003e\n"],["\u003cp\u003eResources such as pricing, quotas and limits, release notes, and locations are easily accessible.\u003c/p\u003e\n"],["\u003cp\u003eBatch jobs can be orchestrated with other services using Workflows, enabling the definition of execution order.\u003c/p\u003e\n"],["\u003cp\u003eNumerous code samples and tutorials, including examples in Go, Java, Node.js, and Python, are provided to help users learn and implement Batch.\u003c/p\u003e\n"]]],[],null,["# Batch documentation\n===================\n\n[Read product documentation](/batch/docs/get-started)\nBatch is a fully managed service\nthat lets you schedule, queue, and execute batch processing jobs\non automatically provisioned Google Cloud resources.\n[Learn more](/batch/docs/overview).\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 [Get started](/batch/docs/get-started)\n\n-\n\n [Job creation and execution](/batch/docs/create-run-job)\n\n-\n\n [Create and run a basic job](/batch/docs/create-run-basic-job)\n\n-\n\n [Analyze a job using logs](/batch/docs/analyze-job-using-logs)\n\n-\n\n [Troubleshooting](/batch/docs/troubleshooting)\n\nfind_in_page\n\n### Reference\n\n-\n\n [gcloud commands](/sdk/gcloud/reference/batch)\n\n-\n\n [REST API](/batch/docs/reference/rest)\n\n-\n\n [Cloud Client Libraries for C++](/cpp/docs/reference/batch/latest)\n\n-\n\n [Cloud Client Libraries for Go](/go/docs/reference/cloud.google.com/go/batch/latest/apiv1)\n\n-\n\n [Cloud Client Libraries for Java](/java/docs/reference/google-cloud-batch/latest/overview)\n\n-\n\n [Cloud Client Libraries for Node.js](/nodejs/docs/reference/batch/latest)\n\n-\n\n [Cloud Client Libraries for Python](/python/docs/reference/batch/latest)\n\n-\n\n [Cloud Client Libraries for .NET](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/batch/pricing)\n\n-\n\n [Quotas and limits](/batch/quotas)\n\n-\n\n [Release notes](/batch/docs/release-notes)\n\n-\n\n [Locations](/batch/docs/locations)\n\nRelated resources\n-----------------\n\nTraining and tutorials \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### Run a Batch job using Workflows\n\n\nOrchestrate Batch jobs and other services to execute in an order that you define by using Workflows.\n\n\n[Learn more](/workflows/docs/tutorials/batch-and-workflows) \nCode sample \nCode Samples\n\n### Example jobs\n\n\nA set of example job scripts and containers with code samples and step-by-step tutorials to learn how to use Batch.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/batch-samples) \nCode sample \nCode Samples\n\n### All samples for Cloud Client Libraries\n\n\nBrowse all Cloud Client Libraries samples for Batch.\n\n\n[Get started](/batch/docs/samples) \nCode sample \nCode Samples\n\n### Go samples\n\n\nA set of samples using the Cloud Client Libraries for Go.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/main/batch) \nCode sample \nCode Samples\n\n### Java samples\n\n\nA set of samples using the Cloud Client Libraries for Java.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/batch/snippets/src/main/java) \nCode sample \nCode Samples\n\n### Node.js samples\n\n\nA set of samples using the Cloud Client Libraries for Node.js.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/main/batch) \nCode sample \nCode Samples\n\n### Python samples\n\n\nA set of samples using the Cloud Client Libraries for Python.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/batch)\n\nRelated videos\n--------------"]]