SDK reference / Models / Compute
BatchTask
Kind: class
Namespace: Egulu.Sdk.Models.Compute
One task of a job, with where it stands.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
ArrayName | string? | arrayName | For a task of an array: the array's name and the index. |
Attempt | int? | attempt | How many attempts have started. |
DependsOn | List<string>? | dependsOn | The dependsOn property |
EndTime | DateTimeOffset? | endTime | The endTime property |
ExitCode | int? | exitCode | The exit code of the last attempt. |
Index | int? | index | The index property |
Kind | string? | kind | command, script or image. |
MaxRetries | int? | maxRetries | The maxRetries property |
Message | string? | message | Why the task is in its state, in words (a failure, a skip, a retry). |
Name | string? | name | projects/{p}/locations/{l}/batchJobs/{j}/tasks/{t}. |
Node | string? | node | The node (VM) of the last attempt. |
StartTime | DateTimeOffset? | startTime | The startTime property |
State | Models.Compute.BatchTask_state? | state | PENDING (waiting for dependencies), READY (waiting for a slot), RUNNING, SUCCEEDED, FAILED, SKIPPED (a dependency failed) or CANCELLED. |
TimeoutSeconds | int? | timeoutSeconds | The timeoutSeconds property |