Reference documentation and code samples for the Compute Engine v1 API enum RouterNat.Types.NatIpAllocateOption.
Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty.
[[["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 provides versioned documentation for the \u003ccode\u003eRouterNat.Types.NatIpAllocateOption\u003c/code\u003e enum within the Google Cloud Compute V1 API, with versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNat.Types.NatIpAllocateOption\u003c/code\u003e enum defines options for managing NAT IP allocation, with choices between \u003ccode\u003eAUTO_ONLY\u003c/code\u003e, where IPs are allocated by Google Cloud, and \u003ccode\u003eMANUAL_ONLY\u003c/code\u003e, where customers specify the IPs.\u003c/p\u003e\n"],["\u003cp\u003eThere is also the \u003ccode\u003eUndefinedNatIpAllocateOption\u003c/code\u003e value which indicates that no value has been set for the enum field.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 3.6.0, and it is the first one in the list of the versioned documentation that is available on the page.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation for each version can be accessed by clicking on the corresponding version number.\u003c/p\u003e\n"]]],[],null,[]]