Reference documentation and code samples for the Google Cloud Batch V1 Client class ActionCondition.
Conditions for actions to deal with task failures.
Generated from protobuf message google.cloud.batch.v1.LifecyclePolicy.ActionCondition
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ exit_codes |
array
Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed. |
getExitCodes
Exit codes of a task execution.
If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setExitCodes
Exit codes of a task execution.
If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |