# Google Cloud Network Connectivity V1 Client - Class Code (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 Code.

The Code enum represents the state of the Private Service Connect
propagation.

Protobuf type `google.cloud.networkconnectivity.v1.PscPropagationStatus.Code`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1 \\ PscPropagationStatus

## Methods

### static::name

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

### static::value

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

## Constants

### CODE_UNSPECIFIED

    Value: 0

The code is unspecified.

Generated from protobuf enum `CODE_UNSPECIFIED = 0;`

### READY

    Value: 1

The propagated Private Service Connect connection is ready.

Generated from protobuf enum `READY = 1;`

### PROPAGATING

    Value: 2

The Private Service Connect connection is propagating. This is a
transient state.

Generated from protobuf enum `PROPAGATING = 2;`

### ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED

    Value: 3

The Private Service Connect connection propagation failed because the VPC
network or the project of the target spoke has exceeded the connection
limit set by the producer.

Generated from protobuf enum `ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED = 3;`

### ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED

    Value: 4

The Private Service Connect connection propagation failed because the NAT
IP subnet space has been exhausted. It is equivalent to the `Needs
attention` status of the Private Service Connect connection. See
<https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses>.

Generated from protobuf enum `ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED = 4;`

### ERROR_PRODUCER_QUOTA_EXCEEDED

    Value: 5

The Private Service Connect connection propagation failed because the
`PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the
producer VPC network has been exceeded.

Generated from protobuf enum `ERROR_PRODUCER_QUOTA_EXCEEDED = 5;`

### ERROR_CONSUMER_QUOTA_EXCEEDED

    Value: 6

The Private Service Connect connection propagation failed because the
`PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer
VPC network has been exceeded.

Generated from protobuf enum `ERROR_CONSUMER_QUOTA_EXCEEDED = 6;`