# Compute V1 Client - Class AddressPurposes (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.1 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.2 1.14.0 1.13.0 1.12.1 1.11.1 1.10.1 1.9.1 1.8.3 1.7.1 1.6.1 1.5.0 Reference documentation and code samples for the Compute V1 Client class AddressPurposes.

Additional supported values which may be not listed in the enum directly due to technical reasons:
PRIVATE_SERVICE_CONNECT

Protobuf type `google.cloud.compute.v1.NetworkProfileNetworkFeatures.AddressPurposes`

## Namespace

Google \\ Cloud \\ Compute \\ V1 \\ NetworkProfileNetworkFeatures

## Methods

### static::name

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

### static::value

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

## Constants

### UNDEFINED_ADDRESS_PURPOSES

    Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum `UNDEFINED_ADDRESS_PURPOSES = 0;`

### DNS_RESOLVER

    Value: 476114556

DNS resolver address in the subnetwork.

Generated from protobuf enum `DNS_RESOLVER = 476114556;`

### GCE_ENDPOINT

    Value: 230515243

VM internal/alias IP, Internal LB service IP, etc.

Generated from protobuf enum `GCE_ENDPOINT = 230515243;`

### IPSEC_INTERCONNECT

    Value: 340437251

A regional internal IP address range reserved for the VLAN attachment
that is used in HA VPN over Cloud Interconnect. This regional
internal IP address range must not overlap with any IP address range
of subnet/route in the VPC network and its peering networks. After the
VLAN attachment is created with the reserved IP address range, when
creating a new VPN gateway, its interface IP address is allocated
from the associated VLAN attachment's IP address range.

Generated from protobuf enum `IPSEC_INTERCONNECT = 340437251;`

### NAT_AUTO

    Value: 163666477

External IP automatically reserved for Cloud NAT.

Generated from protobuf enum `NAT_AUTO = 163666477;`

### PRIVATE_SERVICE_CONNECT

    Value: 48134724

Generated from protobuf enum `PRIVATE_SERVICE_CONNECT = 48134724;`

### SERVERLESS

    Value: 270492508

A regional internal IP address range reserved for Serverless.

Generated from protobuf enum `SERVERLESS = 270492508;`

### SHARED_LOADBALANCER_VIP

    Value: 294447572

A private network IP address that can be shared by multiple Internal
Load Balancer forwarding rules.

Generated from protobuf enum `SHARED_LOADBALANCER_VIP = 294447572;`

### VPC_PEERING

    Value: 400800170

IP range for peer networks.

Generated from protobuf enum `VPC_PEERING = 400800170;`