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, which is used to specify how Network Address Translation (NAT) IP addresses are allocated."],["The latest version documented is 3.6.0, but many versions are available down to version 1.0.0 for the `Google.Cloud.Compute.V1.RouterNat.Types.NatIpAllocateOption`."],["There are two primary options for IP allocation: `AutoOnly`, where Google Cloud Platform allocates IPs, and `ManualOnly`, where customers provide the IPs."],["An additional field called `UndefinedNatIpAllocateOption` is present to signify that the field has not been set."]]],[]]