public enum RouterNat.NatIpAllocateOption extends Enum<RouterNat.NatIpAllocateOption> implements ProtocolMessageEnumSpecify 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
ProtocolMessageEnumStatic Fields
| Name | Description |
| AUTO_ONLY | Nat IPs are allocated by GCP; customers can not specify any Nat IPs. |
| AUTO_ONLY_VALUE | Nat IPs are allocated by GCP; customers can not specify any Nat IPs. |
| 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_VALUE | Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs. |
| UNDEFINED_NAT_IP_ALLOCATE_OPTION | A value indicating that the enum field is not set. |
| UNDEFINED_NAT_IP_ALLOCATE_OPTION_VALUE | A value indicating that the enum field is not set. |
| 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() |