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 IPsec-encrypted Cloud Interconnect configuration. These addresses are regional resources. Not currently available publicly. - 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.
VM internal/alias IP, Internal LB service IP, etc.
IpsecInterconnect
A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted 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.
NatAuto
External IP automatically reserved for Cloud NAT.
PrivateServiceConnect
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
SharedLoadbalancerVip
A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
UndefinedPurpose
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document outlines the different versions of the \u003ccode\u003eGoogle.Cloud.Compute.V1.Address.Types.Purpose\u003c/code\u003e resource, with the latest version being 3.6.0, and many previous versions being listed all the way back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePurpose\u003c/code\u003e enum defines various use cases for IP addresses within Google Cloud, including \u003ccode\u003eGceEndpoint\u003c/code\u003e, \u003ccode\u003eDnsResolver\u003c/code\u003e, \u003ccode\u003eVpcPeering\u003c/code\u003e, \u003ccode\u003eNatAuto\u003c/code\u003e, \u003ccode\u003eIpsecInterconnect\u003c/code\u003e, \u003ccode\u003eSharedLoadbalancerVip\u003c/code\u003e, and \u003ccode\u003ePrivateServiceConnect\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003ePurpose\u003c/code\u003e field such as \u003ccode\u003eDnsResolver\u003c/code\u003e or \u003ccode\u003eGceEndpoint\u003c/code\u003e is associated with a specific function, such as being used as a DNS resolver address or for VM internal/alias IPs, internal load balancers, etc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIpsecInterconnect\u003c/code\u003e purpose is specifically for a regional internal IP address range used with VLAN attachments in IPsec-encrypted Cloud Interconnect configurations, and the \u003ccode\u003ePrivateServiceConnect\u003c/code\u003e purpose is specified for global internal addresses for private networks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedPurpose\u003c/code\u003e field indicates that no purpose is set.\u003c/p\u003e\n"]]],[],null,[]]