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\u003eThe latest version of the \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e is 3.6.0, which can be found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e enum offers various versions from 1.0.0 to 3.6.0, each with its own corresponding documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNatPolicy\u003c/code\u003e enum within the Compute Engine v1 API currently has two fields: \u003ccode\u003eNoNat\u003c/code\u003e which indicates that no NAT is performed, and \u003ccode\u003eUndefinedNatPolicy\u003c/code\u003e, indicating that the enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e is defined within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eTargetInstance.Types.NatPolicy\u003c/code\u003e has a value of \u003ccode\u003eNO_NAT\u003c/code\u003e, meaning protocol forwarding maintains the destination IP of the forwarding rule linked to the target instance.\u003c/p\u003e\n"]]],[],null,[]]