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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The content provides versioned documentation for the `Subnetwork.Types.Purpose` enum within the Google Cloud Compute Engine v1 API, ranging from version 1.0.0 to the latest version 3.6.0."],["The `Subnetwork.Types.Purpose` enum defines the intended use of a subnetwork resource, with potential values including `PRIVATE`, `GLOBAL_MANAGED_PROXY`, `REGIONAL_MANAGED_PROXY`, and `PRIVATE_SERVICE_CONNECT`."],["The default purpose for subnets is `PRIVATE`, with `GLOBAL_MANAGED_PROXY` and `REGIONAL_MANAGED_PROXY` being reserved for load balancers, and `PRIVATE_SERVICE_CONNECT` used for publishing services."],["The `InternalHttpsLoadBalancer` purpose is a legacy purpose that should be replaced with `REGIONAL_MANAGED_PROXY`, and the `enableFlowLogs` feature is not supported when the subnet purpose is set to either `GLOBAL_MANAGED_PROXY` or `REGIONAL_MANAGED_PROXY`."],["The documentation lists the different fields and their description for `Subnetwork.Types.Purpose`, such as `GlobalManagedProxy` and `RegionalManagedProxy`, providing details on the purpose of each."]]],[]]