@Generated(value="by GAPIC") @BetaApi public final class RouterNat extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
RouterNat.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static RouterNat |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Integer |
getIcmpIdleTimeoutSec()
Timeout (in seconds) for ICMP connections.
|
RouterNatLogConfig |
getLogConfig()
Configure logging on this NAT.
|
Integer |
getMinPortsPerVm()
Minimum number of ports allocated to a VM from this NAT config.
|
String |
getName()
Unique name of this Nat service.
|
String |
getNatIpAllocateOption()
Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY:
Uses only Nat IP addresses provided by customers.
|
List<String> |
getNatIpsList()
A list of URLs of the IP resources used for this Nat service.
|
String |
getSourceSubnetworkIpRangesToNat()
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.
|
List<RouterNatSubnetworkToNat> |
getSubnetworksList()
A list of Subnetwork resources whose traffic should be translated by NAT Gateway.
|
Integer |
getTcpEstablishedIdleTimeoutSec()
Timeout (in seconds) for TCP established connections.
|
Integer |
getTcpTransitoryIdleTimeoutSec()
Timeout (in seconds) for TCP transitory connections.
|
Integer |
getUdpIdleTimeoutSec()
Timeout (in seconds) for UDP connections.
|
int |
hashCode() |
static RouterNat.Builder |
newBuilder() |
static RouterNat.Builder |
newBuilder(RouterNat prototype) |
RouterNat.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public Integer getIcmpIdleTimeoutSec()
public RouterNatLogConfig getLogConfig()
public Integer getMinPortsPerVm()
public String getName()
public String getNatIpAllocateOption()
public List<String> getNatIpsList()
public String getSourceSubnetworkIpRangesToNat()
public List<RouterNatSubnetworkToNat> getSubnetworksList()
public Integer getTcpEstablishedIdleTimeoutSec()
public Integer getTcpTransitoryIdleTimeoutSec()
public Integer getUdpIdleTimeoutSec()
public static RouterNat.Builder newBuilder()
public static RouterNat.Builder newBuilder(RouterNat prototype)
public RouterNat.Builder toBuilder()
public static RouterNat getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.