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

The requested IP version for the PSC connection.

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

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### IP_VERSION_UNSPECIFIED

    Value: 0

Default value. We will use IPv4 or IPv6 depending on the IP version of
first available subnetwork.

Generated from protobuf enum `IP_VERSION_UNSPECIFIED = 0;`

### IPV4

    Value: 1

Will use IPv4 only.

Generated from protobuf enum `IPV4 = 1;`

### IPV6

    Value: 2

Will use IPv6 only.

Generated from protobuf enum `IPV6 = 2;`