# 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.

Warning code for policy-based routing. Expect to add values in the
future.

Protobuf type `google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1 \\ PolicyBasedRoute \\ Warnings

## Methods

### static::name

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

### static::value

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

## Constants

### WARNING_UNSPECIFIED

    Value: 0

Default value.

Generated from protobuf enum `WARNING_UNSPECIFIED = 0;`

### RESOURCE_NOT_ACTIVE

    Value: 1

The policy-based route is not active and functioning. Common causes are
that the dependent network was deleted or the resource project was
turned off.

Generated from protobuf enum `RESOURCE_NOT_ACTIVE = 1;`

### RESOURCE_BEING_MODIFIED

    Value: 2

The policy-based route is being modified (e.g. created/deleted) at this
time.

Generated from protobuf enum `RESOURCE_BEING_MODIFIED = 2;`