# Google Cloud Datastream V1 Client - Class State (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class State.

Private Connection state.

Protobuf type `google.cloud.datastream.v1.PrivateConnection.State`

## Namespace

Google \\ Cloud \\ Datastream \\ V1 \\ PrivateConnection

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Unspecified state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

The private connection is in creation state - creating resources.

Generated from protobuf enum `CREATING = 1;`

### CREATED

    Value: 2

The private connection has been created with all of its resources.

Generated from protobuf enum `CREATED = 2;`

### FAILED

    Value: 3

The private connection creation has failed.

Generated from protobuf enum `FAILED = 3;`

### DELETING

    Value: 4

The private connection is being deleted.

Generated from protobuf enum `DELETING = 4;`

### FAILED_TO_DELETE

    Value: 5

Delete request has failed, resource is in invalid state.

Generated from protobuf enum `FAILED_TO_DELETE = 5;`