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, 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 version history and documentation for the \u003ccode\u003eUsableSubnetwork.Types.Purpose\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, with the latest version being 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsableSubnetwork.Types.Purpose\u003c/code\u003e enum defines the intended use of a subnet, such as for regular private use, global or regional managed proxies, or private service connect.\u003c/p\u003e\n"],["\u003cp\u003eThe current version, 2.17.0, is not the latest release, but it contains the documentation for the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and all other versions of the enum.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes fields like \u003ccode\u003eGlobalManagedProxy\u003c/code\u003e, \u003ccode\u003ePrivate\u003c/code\u003e, and \u003ccode\u003ePrivateServiceConnect\u003c/code\u003e, each with a specific description related to subnet usage in the Compute Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe list of versions contains all the way from 1.0.0 to 3.6.0 of the documented enum.\u003c/p\u003e\n"]]],[],null,[]]