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 details the \u003ccode\u003eNatIpAllocateOption\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, outlining its use in specifying how Network Address Translation (NAT) IP addresses are allocated.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.6.0, and previous versions are available, ranging back to 1.0.0, each with its corresponding documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNatIpAllocateOption\u003c/code\u003e enum supports two primary modes: \u003ccode\u003eAUTO_ONLY\u003c/code\u003e, where Google Cloud Platform allocates NAT IPs, and \u003ccode\u003eMANUAL_ONLY\u003c/code\u003e, where only customer-provided NAT IPs are used.\u003c/p\u003e\n"],["\u003cp\u003eThere is a third option in the enum, \u003ccode\u003eUndefinedNatIpAllocateOption\u003c/code\u003e, that is present when the enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe specific definitions and behaviors for each \u003ccode\u003eNatIpAllocateOption\u003c/code\u003e value are provided, including how it affects new virtual machine instances and the specification of NAT IP addresses.\u003c/p\u003e\n"]]],[],null,[]]