0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class TaskState.

Enum representing the operation state of the task.

Protobuf type `google.backstory.WindowsScheduledTask.TaskState`

## Namespace

Google \\ Backstory \\ WindowsScheduledTask

## Methods

### static::name

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

### static::value

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

## Constants

### TASK_STATE_UNSPECIFIED

```php
Value: 0
```
The state of the task is unknown or not specified.

Generated from protobuf enum `TASK_STATE_UNSPECIFIED = 0;`

### DISABLED

```php
Value: 1
```
The task is registered but is disabled and no instances of the task are
queued or running. The task cannot be run until it is enabled.

Generated from protobuf enum `DISABLED = 1;`

### QUEUED

```php
Value: 2
```
Instances of the task are queued.

Generated from protobuf enum `QUEUED = 2;`

### ACTIVE

```php
Value: 3
```
The task is ready to be executed, but no instances are queued or running.

Generated from protobuf enum `ACTIVE = 3;`

### RUNNING

```php
Value: 4
```
One or more instances of the task are running.

Generated from protobuf enum `RUNNING = 4;`