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

This enum controls the policy mode used in a hub.

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

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### POLICY_MODE_UNSPECIFIED

    Value: 0

Policy mode is unspecified. It defaults to PRESET
with preset_topology = MESH.

Generated from protobuf enum `POLICY_MODE_UNSPECIFIED = 0;`

### PRESET

    Value: 1

Hub uses one of the preset topologies.

Generated from protobuf enum `PRESET = 1;`