Reference documentation and code samples for the Google Cloud Batch V1 Client class TaskExecution.
This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.
Generated from protobuf message google.cloud.batch.v1.TaskExecution
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ exit_code |
int
When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success. |
getExitCode
When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
Returns | |
---|---|
Type | Description |
int |
setExitCode
When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |