Reference documentation and code samples for the Compute Engine v1 API enum UsableSubnetwork.Types.Purpose.
The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
[[["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 provides reference documentation for the \u003ccode\u003eUsableSubnetwork.Types.Purpose\u003c/code\u003e enum within the Google Compute Engine v1 API, detailing its various purposes and associated fields.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.6.0, while the current version mentioned on the page is 2.12.0, with versions ranging from 1.0.0 to 3.6.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsableSubnetwork.Types.Purpose\u003c/code\u003e enum defines the intended use of a subnetwork, such as \u003ccode\u003ePRIVATE\u003c/code\u003e, \u003ccode\u003eREGIONAL_MANAGED_PROXY\u003c/code\u003e, \u003ccode\u003ePRIVATE_SERVICE_CONNECT\u003c/code\u003e, or \u003ccode\u003eINTERNAL_HTTPS_LOAD_BALANCER\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003eDifferent purpose types are reserved for specific functionalities, like load balancing, private service connection, or default private subnets, and the default value is \u003ccode\u003ePRIVATE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document also outlines the fields within the enum, listing names like \u003ccode\u003eGlobalManagedProxy\u003c/code\u003e, \u003ccode\u003eInternalHttpsLoadBalancer\u003c/code\u003e, \u003ccode\u003ePrivate\u003c/code\u003e, \u003ccode\u003ePrivateNat\u003c/code\u003e, \u003ccode\u003ePrivateRfc1918\u003c/code\u003e, \u003ccode\u003ePrivateServiceConnect\u003c/code\u003e, \u003ccode\u003eRegionalManagedProxy\u003c/code\u003e, and \u003ccode\u003eUndefinedPurpose\u003c/code\u003e, each with its specific description.\u003c/p\u003e\n"]]],[],null,[]]