This page contains code samples for Batch. To search and filter code samples for other
Google Cloud products, see the
Google Cloud sample browser.
Create and submit a basic container job
Create and submit a sample Batch job that runs a simple command specified as a container image. After you submit the job, Batch automatically queues, schedules, and executes the job on Compute Engine VMs.