SDK reference / Models / Compute

BatchJob

Kind: class

Namespace: Egulu.Sdk.Models.Compute

A job: tasks to run on a pool.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Compute.BatchJob_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
EndTimeDateTimeOffset?endTimeWhen the job reached its final state.
Etagstring?etag"{generation}"; send it back in If-Match.
FailedTasksint?failedTasksTasks that failed, were skipped or were cancelled.
LabelsModels.Compute.BatchJob_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PendingTasksint?pendingTasksTasks waiting for their dependencies or a slot.
Poolstring?poolThe pool whose nodes run the tasks.
Priorityint?priorityHigher runs first among waiting tasks of the pool; 0 to 100; 50 when omitted.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RunningTasksint?runningTasksTasks running now.
StartTimeDateTimeOffset?startTimeWhen the first task started.
StateModels.Compute.BatchJob_state?stateACTIVE while a task can still run, then COMPLETED (all succeeded), FAILED (a task failed or was skipped) or CANCELLED.
SucceededTasksint?succeededTasksTasks that succeeded.
TaskCountint?taskCountTasks in all, arrays expanded.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property