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

The route's type

Protobuf type `google.cloud.networkconnectivity.v1.RouteType`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### ROUTE_TYPE_UNSPECIFIED

    Value: 0

No route type information specified

Generated from protobuf enum `ROUTE_TYPE_UNSPECIFIED = 0;`

### VPC_PRIMARY_SUBNET

    Value: 1

The route leads to a destination within the primary address range of the
VPC network's subnet.

Generated from protobuf enum `VPC_PRIMARY_SUBNET = 1;`

### VPC_SECONDARY_SUBNET

    Value: 2

The route leads to a destination within the secondary address range of the
VPC network's subnet.

Generated from protobuf enum `VPC_SECONDARY_SUBNET = 2;`

### DYNAMIC_ROUTE

    Value: 3

The route leads to a destination in a dynamic route. Dynamic routes are
derived from Border Gateway Protocol (BGP) advertisements received from an
NCC hybrid spoke.

Generated from protobuf enum `DYNAMIC_ROUTE = 3;`