# Google Cloud Backup Dr V1 Client - Class State (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class State.

Holds the state of the data source resource.

Protobuf type `google.cloud.backupdr.v1.DataSource.State`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1 \\ DataSource

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

State not set.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

The data source is being created.

Generated from protobuf enum `CREATING = 1;`

### ACTIVE

    Value: 2

The data source has been created and is fully usable.

Generated from protobuf enum `ACTIVE = 2;`

### DELETING

    Value: 3

The data source is being deleted.

Generated from protobuf enum `DELETING = 3;`

### ERROR

    Value: 4

The data source is experiencing an issue and might be unusable.

Generated from protobuf enum `ERROR = 4;`