Reference documentation and code samples for the Google Cloud Batch V1 Client class Action.
Action on task failures based on different conditions.
Protobuf type google.cloud.batch.v1.LifecyclePolicy.Action
Namespace
Google \ Cloud \ Batch \ V1 \ LifecyclePolicyMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ACTION_UNSPECIFIED
Value: 0
Action unspecified.
Generated from protobuf enum ACTION_UNSPECIFIED = 0;
RETRY_TASK
Value: 1
Action that tasks in the group will be scheduled to re-execute.
Generated from protobuf enum RETRY_TASK = 1;
FAIL_TASK
Value: 2
Action that tasks in the group will be stopped immediately.
Generated from protobuf enum FAIL_TASK = 2;