str
The IP protocol to which this rule applies.
The protocol type is required when creating a
firewall rule. This value can either be one of
the following well known protocol strings (tcp,
udp, icmp, esp, ah, ipip, sctp) or the IP
protocol number.
This field is a member of oneof_ _I_p_protocol.
ports
MutableSequence[str]
An optional list of ports to which this rule applies. This
field is only applicable for the UDP or TCP protocol. Each
entry must be either an integer or a range. If not
specified, this rule applies to connections through any
port. Example inputs include: ["22"], ["80","443"], and
["12345-12349"].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class Denied (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.Denied)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.Denied) \n\n Denied(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]