Protocol such as tcp, udp, icmp, esp, ah, sctp or IP protocol number.
ports
Port numbers to open
sourceRanges
From where to accept connections. If NULL then will default to 0.0.0.0/0 (everywhere)
sourceTags
A list of instance tags this rule applies to. One or both of sourceRanges and sourceTags may be set.
project
The Google Cloud project
Value
A global operation object
sourceRanges and/or sourceTags
If both properties are set,
an inbound connection is allowed if the range or the tag of the source matches the
sourceRanges OR matches the sourceTags property; the connection does not need to match both properties.
# NOT RUN {# }# NOT RUN { gce_make_firewall_rule("allow-http", protocol = "tcp", ports = 80)
gce_make_firewall_rule("allow-https", protocol = "tcp", ports = 443)
# }# NOT RUN {# }