Enum RouterNat.NatIpAllocateOption (1.54.0)

public enum RouterNat.NatIpAllocateOption extends Enum<RouterNat.NatIpAllocateOption> implements ProtocolMessageEnum

Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty.

Protobuf enum google.cloud.compute.v1.RouterNat.NatIpAllocateOption

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTO_ONLY

Nat IPs are allocated by GCP; customers can not specify any Nat IPs.

AUTO_ONLY = 182333500;

AUTO_ONLY_VALUE

Nat IPs are allocated by GCP; customers can not specify any Nat IPs.

AUTO_ONLY = 182333500;

MANUAL_ONLY

Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs.

MANUAL_ONLY = 261251205;

MANUAL_ONLY_VALUE

Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs.

MANUAL_ONLY = 261251205;

UNDEFINED_NAT_IP_ALLOCATE_OPTION

A value indicating that the enum field is not set.

UNDEFINED_NAT_IP_ALLOCATE_OPTION = 0;

UNDEFINED_NAT_IP_ALLOCATE_OPTION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_NAT_IP_ALLOCATE_OPTION = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()