| Package | Description | 
|---|---|
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| RouterNat | RouterNat. clone() | 
| RouterNat | RouterNat. set(String fieldName,
   Object value) | 
| RouterNat | RouterNat. setDrainNatIps(List<String> drainNatIps)A list of URLs of the IP resources to be drained. | 
| RouterNat | RouterNat. setEnableEndpointIndependentMapping(Boolean enableEndpointIndependentMapping) | 
| RouterNat | RouterNat. setIcmpIdleTimeoutSec(Integer icmpIdleTimeoutSec)Timeout (in seconds) for ICMP connections. | 
| RouterNat | RouterNat. setLogConfig(RouterNatLogConfig logConfig)Configure logging on this NAT. | 
| RouterNat | RouterNat. setMinPortsPerVm(Integer minPortsPerVm)Minimum number of ports allocated to a VM from this NAT config. | 
| RouterNat | RouterNat. setName(String name)Unique name of this Nat service. | 
| RouterNat | RouterNat. setNatIpAllocateOption(String natIpAllocateOption)Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY:
 Uses only Nat IP addresses provided by customers. | 
| RouterNat | RouterNat. setNatIps(List<String> natIps)A list of URLs of the IP resources used for this Nat service. | 
| RouterNat | RouterNat. setSourceSubnetworkIpRangesToNat(String sourceSubnetworkIpRangesToNat)Specify the Nat option, which can take one of the following values: -
 ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. | 
| RouterNat | RouterNat. setSubnetworks(List<RouterNatSubnetworkToNat> subnetworks)A list of Subnetwork resources whose traffic should be translated by NAT Gateway. | 
| RouterNat | RouterNat. setTcpEstablishedIdleTimeoutSec(Integer tcpEstablishedIdleTimeoutSec)Timeout (in seconds) for TCP established connections. | 
| RouterNat | RouterNat. setTcpTransitoryIdleTimeoutSec(Integer tcpTransitoryIdleTimeoutSec)Timeout (in seconds) for TCP transitory connections. | 
| RouterNat | RouterNat. setUdpIdleTimeoutSec(Integer udpIdleTimeoutSec)Timeout (in seconds) for UDP connections. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<RouterNat> | Router. getNats()A list of NAT services created in this router. | 
| Modifier and Type | Method and Description | 
|---|---|
| Router | Router. setNats(List<RouterNat> nats)A list of NAT services created in this router. | 
Copyright © 2011–2021 Google. All rights reserved.