[SDK reference](../../index.md) / [Models](../index.md) / [Compute](index.md)

# BatchJob

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Compute`  

A job: tasks to run on a pool.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Compute.BatchJob_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `EndTime` | `DateTimeOffset?` | `endTime` | When the job reached its final state. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `FailedTasks` | `int?` | `failedTasks` | Tasks that failed, were skipped or were cancelled. |
| `Labels` | `Models.Compute.BatchJob_labels?` | `labels` | At most 64. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `PendingTasks` | `int?` | `pendingTasks` | Tasks waiting for their dependencies or a slot. |
| `Pool` | `string?` | `pool` | The pool whose nodes run the tasks. |
| `Priority` | `int?` | `priority` | Higher runs first among waiting tasks of the pool; 0 to 100; 50 when omitted. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `RunningTasks` | `int?` | `runningTasks` | Tasks running now. |
| `StartTime` | `DateTimeOffset?` | `startTime` | When the first task started. |
| `State` | `Models.Compute.BatchJob_state?` | `state` | ACTIVE while a task can still run, then COMPLETED (all succeeded), FAILED (a task failed or was skipped) or CANCELLED. |
| `SucceededTasks` | `int?` | `succeededTasks` | Tasks that succeeded. |
| `TaskCount` | `int?` | `taskCount` | Tasks in all, arrays expanded. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
