# Google Cloud Notebooks V1 Client - Class State (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.5 0.6.2 0.5.0 0.4.1 0.3.6 Reference documentation and code samples for the Google Cloud Notebooks V1 Client class State.

Enum description of the state of the underlying AIP job.

Protobuf type `google.cloud.notebooks.v1.Execution.State`

## Namespace

Google \\ Cloud \\ Notebooks \\ V1 \\ Execution

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The job state is unspecified.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### QUEUED

    Value: 1

The job has been just created and processing has not yet begun.

Generated from protobuf enum `QUEUED = 1;`

### PREPARING

    Value: 2

The service is preparing to execution the job.

Generated from protobuf enum `PREPARING = 2;`

### RUNNING

    Value: 3

The job is in progress.

Generated from protobuf enum `RUNNING = 3;`

### SUCCEEDED

    Value: 4

The job completed successfully.

Generated from protobuf enum `SUCCEEDED = 4;`

### FAILED

    Value: 5

The job failed.

`error_message` should contain the details of the failure.

Generated from protobuf enum `FAILED = 5;`

### CANCELLING

    Value: 6

The job is being cancelled.

`error_message` should describe the reason for the cancellation.

Generated from protobuf enum `CANCELLING = 6;`

### CANCELLED

    Value: 7

The job has been cancelled.

`error_message` should describe the reason for the cancellation.

Generated from protobuf enum `CANCELLED = 7;`

### EXPIRED

    Value: 9

The job has become expired (relevant to Vertex AI jobs)
<https://cloud.google.com/vertex-ai/docs/reference/rest/v1/JobState>

Generated from protobuf enum `EXPIRED = 9;`

### INITIALIZING

    Value: 10

The Execution is being created.

Generated from protobuf enum `INITIALIZING = 10;`