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_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
[[["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 webpage provides documentation for the \u003ccode\u003eSubnetwork.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\u003eSubnetwork.Types.Purpose\u003c/code\u003e enum defines the intended use of a subnetwork resource, such as \u003ccode\u003eINTERNAL_HTTPS_LOAD_BALANCER\u003c/code\u003e, \u003ccode\u003ePRIVATE\u003c/code\u003e, \u003ccode\u003ePRIVATE_RFC_1918\u003c/code\u003e, \u003ccode\u003ePRIVATE_SERVICE_CONNECT\u003c/code\u003e, and \u003ccode\u003eREGIONAL_MANAGED_PROXY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSubnetworks can be designated for Internal HTTP(S) Load Balancing, regular private use, Private Service Connect, or Regional Internal/External HTTP(S) Load Balancing, depending on the selected \u003ccode\u003ePurpose\u003c/code\u003e enum value.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the different versions of the \u003ccode\u003eSubnetwork.Types.Purpose\u003c/code\u003e enum, ranging from version 1.0.0 up to the latest version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eIf the purpose is not specified for a subnet, it will default to \u003ccode\u003ePRIVATE_RFC_1918\u003c/code\u003e and the \u003ccode\u003eenableFlowLogs\u003c/code\u003e field isn't supported when the \u003ccode\u003epurpose\u003c/code\u003e field is set to \u003ccode\u003eINTERNAL_HTTPS_LOAD_BALANCER\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]