# Network Connectivity V1 API - Module Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::State (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API module Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::State.

The state of the PSC connection.
We reserve the right to add more states without notice in the future.
Users should not use exhaustive switch statements on this enum.
See <https://google.aip.dev/216>.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
An invalid state as the default case.

### ACTIVE

**value:** 1  
The connection has been created successfully. However, for the
up-to-date connection status, please use the created forwarding rule's
"PscConnectionStatus" as the source of truth.

### FAILED

**value:** 2  
The connection is not functional since some resources on the connection
fail to be created.

### CREATING

**value:** 3  
The connection is being created.

### DELETING

**value:** 4  
The connection is being deleted.

### CREATE_REPAIRING

**value:** 5  
The connection is being repaired to complete creation.

### DELETE_REPAIRING

**value:** 6  
The connection is being repaired to complete deletion.