Reference documentation and code samples for the Compute V1 Client class 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.
Protobuf type google.cloud.compute.v1.TargetInstance.NatPolicy
Namespace
Google \ Cloud \ Compute \ V1 \ TargetInstance
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
UNDEFINED_NAT_POLICY
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_NAT_POLICY = 0;
[[["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-10-02 UTC."],[],[],null,[]]