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 versioned documentation for the \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e enum within the Google.Cloud.Compute.V1 namespace, spanning versions from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e enum is 3.6.0, with a link available to the most up to date documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e enum currently defines two fields: \u003ccode\u003eNoNat\u003c/code\u003e, which signifies that no Network Address Translation (NAT) is performed, and \u003ccode\u003eUndefinedNatPolicy\u003c/code\u003e, indicating the enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details that the enum is used within the context of the Compute Engine v1 API and is contained in the Google.Cloud.Compute.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNatPolicy\u003c/code\u003e can only have the value of \u003ccode\u003eNO_NAT\u003c/code\u003e, and this preserves the destination IP address of the forwarding rule.\u003c/p\u003e\n"]]],[],null,[]]