Class SecurityPolicyRuleNetworkMatcher (1.23.0)

SecurityPolicyRuleNetworkMatcher(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Represents a match condition that incoming network traffic is evaluated against.

Attributes

Name Description
dest_ip_ranges MutableSequence[str]
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
dest_ports MutableSequence[str]
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
ip_protocols MutableSequence[str]
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
src_asns MutableSequence[int]
BGP Autonomous System Number associated with the source IP address.
src_ip_ranges MutableSequence[str]
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
src_ports MutableSequence[str]
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
src_region_codes MutableSequence[str]
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
user_defined_fields MutableSequence[google.cloud.compute_v1.types.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]
User-defined fields. Each element names a defined field and lists the matching values for that field.