Reference documentation and code samples for the Compute V1 Client class FirewallPolicyRuleMatcher.
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Generated from protobuf message google.cloud.compute.v1.FirewallPolicyRuleMatcher
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dest_address_groups
array
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
↳ dest_fqdns
array
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
↳ dest_ip_ranges
array
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
↳ dest_network_type
string
Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
↳ dest_region_codes
array
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
↳ dest_threat_intelligences
array
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
↳ layer4_configs
array< FirewallPolicyRuleMatcherLayer4Config
>
Pairs of IP protocols and ports that the rule should match.
↳ src_address_groups
array
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
↳ src_fqdns
array
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
↳ src_ip_ranges
array
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
↳ src_network_type
string
Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkType enum for the list of possible values.
↳ src_networks
array
Networks of the traffic source. It can be either a full or partial url.
↳ src_region_codes
array
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
↳ src_secure_tags
array< FirewallPolicyRuleSecureTag
>
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
↳ src_threat_intelligences
array
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
getDestAddressGroups
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
setDestAddressGroups
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
var
string[]
$this
getDestFqdns
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
setDestFqdns
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
var
string[]
$this
getDestIpRanges
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
setDestIpRanges
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
var
string[]
$this
getDestNetworkType
Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
string
hasDestNetworkType
clearDestNetworkType
setDestNetworkType
Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
var
string
$this
getDestRegionCodes
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
setDestRegionCodes
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
var
string[]
$this
getDestThreatIntelligences
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
setDestThreatIntelligences
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
var
string[]
$this
getLayer4Configs
Pairs of IP protocols and ports that the rule should match.
setLayer4Configs
Pairs of IP protocols and ports that the rule should match.
$this
getSrcAddressGroups
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
setSrcAddressGroups
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
var
string[]
$this
getSrcFqdns
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
setSrcFqdns
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
var
string[]
$this
getSrcIpRanges
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
setSrcIpRanges
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
var
string[]
$this
getSrcNetworkType
Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkType enum for the list of possible values.
string
hasSrcNetworkType
clearSrcNetworkType
setSrcNetworkType
Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkType enum for the list of possible values.
var
string
$this
getSrcNetworks
Networks of the traffic source. It can be either a full or partial url.
setSrcNetworks
Networks of the traffic source. It can be either a full or partial url.
var
string[]
$this
getSrcRegionCodes
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
setSrcRegionCodes
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
var
string[]
$this
getSrcSecureTags
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
setSrcSecureTags
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
$this
getSrcThreatIntelligences
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
setSrcThreatIntelligences
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
var
string[]
$this