# Google Cloud Network Management V1 Client - Class RouteType (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 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 Management V1 Client class RouteType.

Type of route:

Protobuf type `google.cloud.networkmanagement.v1.RouteInfo.RouteType`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1 \\ RouteInfo

## Methods

### static::name

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

### static::value

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

## Constants

### ROUTE_TYPE_UNSPECIFIED

    Value: 0

Unspecified type. Default value.

Generated from protobuf enum `ROUTE_TYPE_UNSPECIFIED = 0;`

### SUBNET

    Value: 1

Route is a subnet route automatically created by the system.

Generated from protobuf enum `SUBNET = 1;`

### PBSTATIC

    Value: 2

Static route created by the user, including the default route to the
internet.

Generated from protobuf enum `STATIC = 2;`

### DYNAMIC

    Value: 3

Dynamic route exchanged between BGP peers.

Generated from protobuf enum `DYNAMIC = 3;`

### PEERING_SUBNET

    Value: 4

A subnet route received from peering network or NCC Hub.

Generated from protobuf enum `PEERING_SUBNET = 4;`

### PEERING_STATIC

    Value: 5

A static route received from peering network.

Generated from protobuf enum `PEERING_STATIC = 5;`

### PEERING_DYNAMIC

    Value: 6

A dynamic route received from peering network or NCC Hub.

Generated from protobuf enum `PEERING_DYNAMIC = 6;`

### POLICY_BASED

    Value: 7

Policy based route.

Generated from protobuf enum `POLICY_BASED = 7;`

### ADVERTISED

    Value: 101

Advertised route. Synthetic route which is used to transition from the
StartFromPrivateNetwork state in Connectivity tests.

Generated from protobuf enum `ADVERTISED = 101;`