Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region.
[[["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 page details the \u003ccode\u003eSourceSubnetworkIpRangesToNat\u003c/code\u003e enum within the Google Cloud Compute V1 library, specifically across various versions, including the latest 3.6.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eSourceSubnetworkIpRangesToNat\u003c/code\u003e defines options for specifying which IP ranges in subnetworks are allowed to use Network Address Translation (NAT).\u003c/p\u003e\n"],["\u003cp\u003eAvailable options within \u003ccode\u003eSourceSubnetworkIpRangesToNat\u003c/code\u003e include allowing all IP ranges, all primary IP ranges, or a specific list of subnetworks to use NAT, with an undefined option available as well.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace houses this enum, which is contained within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe table found within the page defines the different fields within this enum, and their respective descriptions, providing clear guidelines as to their intended use.\u003c/p\u003e\n"]]],[],null,[]]