Reference documentation and code samples for the Compute Engine v1 API enum Subnetwork.Types.Purpose.
The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or 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\u003eThe content provides reference documentation for the \u003ccode\u003eSubnetwork.Types.Purpose\u003c/code\u003e enum in the Google Compute Engine v1 API, specifically within the .NET library, with the latest version being 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the different purposes a subnet can have, including \u003ccode\u003ePRIVATE\u003c/code\u003e, \u003ccode\u003eGLOBAL_MANAGED_PROXY\u003c/code\u003e, \u003ccode\u003eREGIONAL_MANAGED_PROXY\u003c/code\u003e, and \u003ccode\u003ePRIVATE_SERVICE_CONNECT\u003c/code\u003e, outlining their respective uses.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eSubnetwork.Types.Purpose\u003c/code\u003e defines the intended use of a subnet resource, such as for general use, load balancing, or private service connections.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists various versions of the API, starting from version 1.0.0 all the way to the latest version of 3.6.0, allowing users to navigate and find documentation for specific versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInternalHttpsLoadBalancer\u003c/code\u003e is a legacy purpose for the subnet and \u003ccode\u003eREGIONAL_MANAGED_PROXY\u003c/code\u003e is recommended instead, as well as the \u003ccode\u003eUndefinedPurpose\u003c/code\u003e field indicating that the enum field is not set.\u003c/p\u003e\n"]]],[],null,[]]