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.
Generated from protobuf field int32 exit_code = 1;
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.
Generated from protobuf field int32 exit_code = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |