Enum TargetInstance.NatPolicy (1.42.0)

public enum TargetInstance.NatPolicy extends Enum<TargetInstance.NatPolicy> implements ProtocolMessageEnum

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 enum google.cloud.compute.v1.TargetInstance.NatPolicy

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NO_NAT

No NAT performed.

NO_NAT = 161455491;

NO_NAT_VALUE

No NAT performed.

NO_NAT = 161455491;

UNDEFINED_NAT_POLICY

A value indicating that the enum field is not set.

UNDEFINED_NAT_POLICY = 0;

UNDEFINED_NAT_POLICY_VALUE

A value indicating that the enum field is not set.

UNDEFINED_NAT_POLICY = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()