# Google Cloud Network Services V1 Client - Class IpVersion (0.8.2)

0.8.2 (latest) 0.8.1 0.7.1 0.6.1 0.5.0 0.4.0 0.3.0 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Network Services V1 Client class IpVersion.

The types of IP version for the gateway.

Possible values are:

- IPV4
- IPV6

Protobuf type `google.cloud.networkservices.v1.Gateway.IpVersion`

## Namespace

Google \\ Cloud \\ NetworkServices \\ V1 \\ Gateway

## Methods

### static::name

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

### static::value

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

## Constants

### IP_VERSION_UNSPECIFIED

    Value: 0

The type when IP version is not specified. Defaults to IPV4.

Generated from protobuf enum `IP_VERSION_UNSPECIFIED = 0;`

### IPV4

    Value: 1

The type for IP version 4.

Generated from protobuf enum `IPV4 = 1;`

### IPV6

    Value: 2

The type for IP version 6.

Generated from protobuf enum `IPV6 = 2;`