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 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 available for this API is 3.6.0, with a list of versions going back to 1.0.0 available for this enum.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNatIpAllocateOption\u003c/code\u003e allows users to configure whether Nat IP addresses are automatically allocated by Google Cloud Platform or manually specified by the customer, or if the enum is undefined.\u003c/p\u003e\n"],["\u003cp\u003eThe enum supports \u003ccode\u003eAUTO_ONLY\u003c/code\u003e (for Google-allocated IPs) and \u003ccode\u003eMANUAL_ONLY\u003c/code\u003e (for user-specified IPs) options.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a namespace of \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and its assembly is \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]