# Google Cloud Network Connectivity V1 Client - Class State (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class State.

PSC Consumer Config State.

Protobuf type `google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1 \\ ServiceConnectionMap \\ ConsumerPscConfig

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default state, when Connection Map is created initially.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### VALID

    Value: 1

Set when policy and map configuration is valid,
and their matching can lead to allowing creation of PSC Connections
subject to other constraints like connections limit.

Generated from protobuf enum `VALID = 1;`

### CONNECTION_POLICY_MISSING

    Value: 2

No Service Connection Policy found for this network and Service
Class

Generated from protobuf enum `CONNECTION_POLICY_MISSING = 2;`

### POLICY_LIMIT_REACHED

    Value: 3

Service Connection Policy limit reached for this network and Service
Class

Generated from protobuf enum `POLICY_LIMIT_REACHED = 3;`

### CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED

    Value: 4

The consumer instance project is not in
AllowedGoogleProducersResourceHierarchyLevels of the matching
ServiceConnectionPolicy.

Generated from protobuf enum `CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4;`