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 reference documentation for the \u003ccode\u003eRouterNat.Types.NatIpAllocateOption\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 3.6.0, with multiple previous versions available, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNatIpAllocateOption\u003c/code\u003e enum defines the behavior of NAT IP allocation, allowing for either automatic allocation by Google Cloud Platform (\u003ccode\u003eAUTO_ONLY\u003c/code\u003e) or manual allocation using customer-provided IPs (\u003ccode\u003eMANUAL_ONLY\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eAn additional field, \u003ccode\u003eUndefinedNatIpAllocateOption\u003c/code\u003e, indicates when the enum field has not been set.\u003c/p\u003e\n"]]],[],null,[]]