Reference documentation and code samples for the Compute Engine v1 API enum TargetInstance.Types.NatPolicy.
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance.
[[["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 webpage provides documentation for the \u003ccode\u003eTargetInstance.Types.NatPolicy\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, but there are many older versions available, ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNatPolicy\u003c/code\u003e enum, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, allows for the setting of either \u003ccode\u003eNoNat\u003c/code\u003e or \u003ccode\u003eUndefinedNatPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhen set to \u003ccode\u003eNoNat\u003c/code\u003e, protocol forwarding will preserve the original destination IP address.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of all available versions of the \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]