Batch Job in Google Cloud is a managed service that allows you to run batch workloads at scale without managing infrastructure. It is designed for parallel, high-throughput, or long-running tasks such as data processing, simulations, or machine learning pipelines. Batch Jobs handle resource provisioning, scheduling, retries, and job monitoring, making it easier to focus on workload logic rather than cluster management.

gcp.batch_job

Fields

TitleIDTypeData TypeDescription
_keycorestring
allocation_policycorejsonCompute resource allocation for all TaskGroups in the Job.
ancestorscorearray<string>
create_timecoretimestampOutput only. When the Job was created.
datadog_display_namecorestring
gcp_statuscorejsonOutput only. Job status. It is read only for users.
labelscorearray<string>Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
logs_policycorejsonLog preservation policy for the Job.
namecorestringOutput only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
notificationscorejsonNotification configurations.
organization_idcorestring
parentcorestring
prioritycoreint64Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
project_idcorestring
project_numbercorestring
resource_namecorestring
tagscorehstore
task_groupscorejsonRequired. TaskGroups in the Job. Only one TaskGroup is supported now.
uidcorestringOutput only. A system generated unique ID for the Job.
update_timecoretimestampOutput only. The last time the Job was updated.