# Google Cloud Security Command Center V2 Client - Class JobState (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class JobState.

JobState represents the state of the job.

Protobuf type `google.cloud.securitycenter.v2.JobState`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V2

## Methods

### static::name

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

### static::value

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

## Constants

### JOB_STATE_UNSPECIFIED

    Value: 0

Unspecified represents an unknown state and should not be used.

Generated from protobuf enum `JOB_STATE_UNSPECIFIED = 0;`

### PENDING

    Value: 1

Job is scheduled and pending for run

Generated from protobuf enum `PENDING = 1;`

### RUNNING

    Value: 2

Job in progress

Generated from protobuf enum `RUNNING = 2;`

### SUCCEEDED

    Value: 3

Job has completed with success

Generated from protobuf enum `SUCCEEDED = 3;`

### FAILED

    Value: 4

Job has completed but with failure

Generated from protobuf enum `FAILED = 4;`