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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `NatIpAllocateOption` enum within the `Google.Cloud.Compute.V1` namespace, outlining its use in specifying how Network Address Translation (NAT) IP addresses are allocated."],["The latest version documented is 3.6.0, and previous versions are available, ranging back to 1.0.0, each with its corresponding documentation."],["The `NatIpAllocateOption` enum supports two primary modes: `AUTO_ONLY`, where Google Cloud Platform allocates NAT IPs, and `MANUAL_ONLY`, where only customer-provided NAT IPs are used."],["There is a third option in the enum, `UndefinedNatIpAllocateOption`, that is present when the enum field is not set."],["The specific definitions and behaviors for each `NatIpAllocateOption` value are provided, including how it affects new virtual machine instances and the specification of NAT IP addresses."]]],[]]