This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
MutableSequence[str]
If source IP ranges are specified, the
firewall rule applies only to traffic that has a
source IP address in these ranges. These ranges
must be expressed in CIDR format. Only supports
IPv4.
destination_ip_ranges
MutableSequence[str]
If destination IP ranges are specified, the
firewall rule applies only to traffic that has a
destination IP address in these ranges. These
ranges must be expressed in CIDR format. Only
supports IPv4.
exposed_services
MutableSequence[str]
Name of the network protocol service, such as
FTP, that is exposed by the open port. Follows
the naming convention available at:
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
Classes
Direction
Direction(value)
The type of direction that the rule is applicable to, one of ingress
or egress. Not applicable to OPEN_X_PORT findings.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Class IpRules (1.39.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.39.0 (latest)](/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v2.types.IpRules)\n- [1.38.0](/python/docs/reference/securitycenter/1.38.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.37.0](/python/docs/reference/securitycenter/1.37.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.36.0](/python/docs/reference/securitycenter/1.36.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.35.1](/python/docs/reference/securitycenter/1.35.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.33.1](/python/docs/reference/securitycenter/1.33.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.32.1](/python/docs/reference/securitycenter/1.32.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.31.0](/python/docs/reference/securitycenter/1.31.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.30.1](/python/docs/reference/securitycenter/1.30.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.29.0](/python/docs/reference/securitycenter/1.29.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.28.0](/python/docs/reference/securitycenter/1.28.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.27.0](/python/docs/reference/securitycenter/1.27.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.26.1](/python/docs/reference/securitycenter/1.26.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.25.0](/python/docs/reference/securitycenter/1.25.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.24.1](/python/docs/reference/securitycenter/1.24.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.23.2](/python/docs/reference/securitycenter/1.23.2/google.cloud.securitycenter_v2.types.IpRules)\n- [1.22.0](/python/docs/reference/securitycenter/1.22.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.21.0](/python/docs/reference/securitycenter/1.21.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.20.0](/python/docs/reference/securitycenter/1.20.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.19.1](/python/docs/reference/securitycenter/1.19.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.18.2](/python/docs/reference/securitycenter/1.18.2/google.cloud.securitycenter_v2.types.IpRules)\n- [1.17.0](/python/docs/reference/securitycenter/1.17.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.16.2](/python/docs/reference/securitycenter/1.16.2/google.cloud.securitycenter_v2.types.IpRules)\n- [1.15.0](/python/docs/reference/securitycenter/1.15.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.14.0](/python/docs/reference/securitycenter/1.14.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.13.0](/python/docs/reference/securitycenter/1.13.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.12.0](/python/docs/reference/securitycenter/1.12.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.11.1](/python/docs/reference/securitycenter/1.11.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.10.0](/python/docs/reference/securitycenter/1.10.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.9.0](/python/docs/reference/securitycenter/1.9.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.8.0](/python/docs/reference/securitycenter/1.8.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.7.0](/python/docs/reference/securitycenter/1.7.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.6.0](/python/docs/reference/securitycenter/1.6.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.5.2](/python/docs/reference/securitycenter/1.5.2/google.cloud.securitycenter_v2.types.IpRules)\n- [1.4.0](/python/docs/reference/securitycenter/1.4.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.3.1](/python/docs/reference/securitycenter/1.3.1/google.cloud.securitycenter_v2.types.IpRules)\n- [1.2.0](/python/docs/reference/securitycenter/1.2.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.1.0](/python/docs/reference/securitycenter/1.1.0/google.cloud.securitycenter_v2.types.IpRules)\n- [1.0.0](/python/docs/reference/securitycenter/1.0.0/google.cloud.securitycenter_v2.types.IpRules)\n- [0.7.3](/python/docs/reference/securitycenter/0.7.3/google.cloud.securitycenter_v2.types.IpRules)\n- [0.6.0](/python/docs/reference/securitycenter/0.6.0/google.cloud.securitycenter_v2.types.IpRules)\n- [0.5.0](/python/docs/reference/securitycenter/0.5.0/google.cloud.securitycenter_v2.types.IpRules)\n- [0.4.0](/python/docs/reference/securitycenter/0.4.0/google.cloud.securitycenter_v2.types.IpRules)\n- [0.3.0](/python/docs/reference/securitycenter/0.3.0/google.cloud.securitycenter_v2.types.IpRules) \n\n IpRules(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nIP rules associated with the finding.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### Direction\n\n Direction(value)\n\nThe type of direction that the rule is applicable to, one of ingress\nor egress. Not applicable to OPEN_X_PORT findings."]]