public static final class Firewall.Allowed
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Firewall.Allowed() |
| Modifier and Type | Method and Description |
|---|---|
Firewall.Allowed |
clone() |
java.lang.String |
getIPProtocol()
The IP protocol that is allowed for this rule.
|
java.util.List<java.lang.String> |
getPorts()
An optional list of ports which are allowed.
|
Firewall.Allowed |
set(java.lang.String fieldName,
java.lang.Object value) |
Firewall.Allowed |
setIPProtocol(java.lang.String iPProtocol)
The IP protocol that is allowed for this rule.
|
Firewall.Allowed |
setPorts(java.util.List<java.lang.String> ports)
An optional list of ports which are allowed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getIPProtocol()
null for nonepublic Firewall.Allowed setIPProtocol(java.lang.String iPProtocol)
iPProtocol - iPProtocol or null for nonepublic java.util.List<java.lang.String> getPorts()
null for nonepublic Firewall.Allowed setPorts(java.util.List<java.lang.String> ports)
ports - ports or null for nonepublic Firewall.Allowed set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Firewall.Allowed clone()
clone in class com.google.api.client.json.GenericJson