# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/gcp/gcp.batch_job.dataset.md

---
title: Batch Job
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Batch Job
---

# Batch Job

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

| Title                | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Description |
| -------------------- | ---- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                 | core | string        |
| allocation_policy    | core | json          | Compute resource allocation for all TaskGroups in the Job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ancestors            | core | array<string> |
| create_time          | core | timestamp     | Output only. When the Job was created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| datadog_display_name | core | string        |
| gcp_status           | core | json          | Output only. Job status. It is read only for users.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| labels               | core | array<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_policy          | core | json          | Log preservation policy for the Job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| name                 | core | string        | Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| notifications        | core | json          | Notification configurations.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| organization_id      | core | string        |
| parent               | core | string        |
| priority             | core | int64         | Priority 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_id           | core | string        |
| project_number       | core | string        |
| region_id            | core | string        |
| resource_name        | core | string        |
| tags                 | core | hstore_csv    |
| task_groups          | core | json          | Required. TaskGroups in the Job. Only one TaskGroup is supported now.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| uid                  | core | string        | Output only. A system generated unique ID for the Job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| update_time          | core | timestamp     | Output only. The last time the Job was updated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| zone_id              | core | string        |