Enum Address.Purpose (1.50.0)

public enum Address.Purpose extends Enum<Address.Purpose> implements ProtocolMessageEnum

The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.

Protobuf enum google.cloud.compute.v1.Address.Purpose

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DNS_RESOLVER

DNS resolver address in the subnetwork.

DNS_RESOLVER = 476114556;

DNS_RESOLVER_VALUE

DNS resolver address in the subnetwork.

DNS_RESOLVER = 476114556;

GCE_ENDPOINT

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

GCE_ENDPOINT = 230515243;

GCE_ENDPOINT_VALUE

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

GCE_ENDPOINT = 230515243;

IPSEC_INTERCONNECT

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.

IPSEC_INTERCONNECT = 340437251;

IPSEC_INTERCONNECT_VALUE

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.

IPSEC_INTERCONNECT = 340437251;

NAT_AUTO

External IP automatically reserved for Cloud NAT.

NAT_AUTO = 163666477;

NAT_AUTO_VALUE

External IP automatically reserved for Cloud NAT.

NAT_AUTO = 163666477;

PRIVATE_SERVICE_CONNECT

A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL

PRIVATE_SERVICE_CONNECT = 48134724;

PRIVATE_SERVICE_CONNECT_VALUE

A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL

PRIVATE_SERVICE_CONNECT = 48134724;

SERVERLESS

A regional internal IP address range reserved for Serverless.

SERVERLESS = 270492508;

SERVERLESS_VALUE

A regional internal IP address range reserved for Serverless.

SERVERLESS = 270492508;

SHARED_LOADBALANCER_VIP

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

SHARED_LOADBALANCER_VIP = 294447572;

SHARED_LOADBALANCER_VIP_VALUE

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

SHARED_LOADBALANCER_VIP = 294447572;

UNDEFINED_PURPOSE

A value indicating that the enum field is not set.

UNDEFINED_PURPOSE = 0;

UNDEFINED_PURPOSE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PURPOSE = 0;

UNRECOGNIZED
VPC_PEERING

IP range for peer networks.

VPC_PEERING = 400800170;

VPC_PEERING_VALUE

IP range for peer networks.

VPC_PEERING = 400800170;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()