Class Firewall.Rule
java.lang.Object
org.jclouds.googlecomputeengine.domain.Firewall.Rule
- Enclosing class:
Firewall
A protocol and port-range tuple that describes a permitted connection.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Firewall.Rule
abstract String
This can either be a well known protocol string (tcp, udp or icmp) or the IP protocol number.ports()
An optional list of ports which are allowed.
-
Method Details
-
ipProtocol
This can either be a well known protocol string (tcp, udp or icmp) or the IP protocol number. -
ports
An optional list of ports which are allowed. This is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range (ex.12345-12349
). If not specified, connections through any port are allowed. -
create
-