# Google Cloud Run V2 Client - Class ExecutionReason (1.12.2)

1.12.2 (latest) 1.12.1 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.2 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.9.3 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.4 Reference documentation and code samples for the Google Cloud Run V2 Client class ExecutionReason.

Reasons specific to Execution resource.

Protobuf type `google.cloud.run.v2.Condition.ExecutionReason`

## Namespace

Google \\ Cloud \\ Run \\ V2 \\ Condition

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### EXECUTION_REASON_UNDEFINED

    Value: 0

Default value.

Generated from protobuf enum `EXECUTION_REASON_UNDEFINED = 0;`

### JOB_STATUS_SERVICE_POLLING_ERROR

    Value: 1

Internal system error getting execution status. System will retry.

Generated from protobuf enum `JOB_STATUS_SERVICE_POLLING_ERROR = 1;`

### NON_ZERO_EXIT_CODE

    Value: 2

A task reached its retry limit and the last attempt failed due to the
user container exiting with a non-zero exit code.

Generated from protobuf enum `NON_ZERO_EXIT_CODE = 2;`

### CANCELLED

    Value: 3

The execution was cancelled by users.

Generated from protobuf enum `CANCELLED = 3;`

### CANCELLING

    Value: 4

The execution is in the process of being cancelled.

Generated from protobuf enum `CANCELLING = 4;`

### DELETED

    Value: 5

The execution was deleted.

Generated from protobuf enum `DELETED = 5;`

### DELAYED_START_PENDING

    Value: 6

A delayed execution is waiting for a start time.

Generated from protobuf enum `DELAYED_START_PENDING = 6;`