Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::FirewallPolicyRuleMatcher.
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dest_address_groups
def dest_address_groups() -> ::Array<::String>
Returns
- (::Array<::String>) — Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
#dest_address_groups=
def dest_address_groups=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
Returns
- (::Array<::String>) — Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
#dest_fqdns
def dest_fqdns() -> ::Array<::String>
Returns
- (::Array<::String>) — Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
#dest_fqdns=
def dest_fqdns=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
Returns
- (::Array<::String>) — Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
#dest_ip_ranges
def dest_ip_ranges() -> ::Array<::String>
Returns
- (::Array<::String>) — CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
#dest_ip_ranges=
def dest_ip_ranges=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
Returns
- (::Array<::String>) — CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
#dest_network_type
def dest_network_type() -> ::String
Returns
- (::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_network_type=
def dest_network_type=(value) -> ::String
Parameter
- value (::String) — Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
Returns
- (::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
def dest_region_codes() -> ::Array<::String>
Returns
- (::Array<::String>) — 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_region_codes=
def dest_region_codes=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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.
Returns
- (::Array<::String>) — 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
def dest_threat_intelligences() -> ::Array<::String>
Returns
- (::Array<::String>) — Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
#dest_threat_intelligences=
def dest_threat_intelligences=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
Returns
- (::Array<::String>) — Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
#layer4_configs
def layer4_configs() -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>
Returns
- (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>) — Pairs of IP protocols and ports that the rule should match.
#layer4_configs=
def layer4_configs=(value) -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>) — Pairs of IP protocols and ports that the rule should match.
Returns
- (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>) — Pairs of IP protocols and ports that the rule should match.
#src_address_groups
def src_address_groups() -> ::Array<::String>
Returns
- (::Array<::String>) — Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
#src_address_groups=
def src_address_groups=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
Returns
- (::Array<::String>) — Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
#src_fqdns
def src_fqdns() -> ::Array<::String>
Returns
- (::Array<::String>) — Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
#src_fqdns=
def src_fqdns=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
Returns
- (::Array<::String>) — Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
#src_ip_ranges
def src_ip_ranges() -> ::Array<::String>
Returns
- (::Array<::String>) — CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
#src_ip_ranges=
def src_ip_ranges=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
Returns
- (::Array<::String>) — CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
#src_network_type
def src_network_type() -> ::String
Returns
- (::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_network_type=
def src_network_type=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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
def src_networks() -> ::Array<::String>
Returns
- (::Array<::String>) — Networks of the traffic source. It can be either a full or partial url.
#src_networks=
def src_networks=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Networks of the traffic source. It can be either a full or partial url.
Returns
- (::Array<::String>) — Networks of the traffic source. It can be either a full or partial url.
#src_region_codes
def src_region_codes() -> ::Array<::String>
Returns
- (::Array<::String>) — 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_region_codes=
def src_region_codes=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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.
Returns
- (::Array<::String>) — 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
def src_secure_tags() -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleSecureTag>
Returns
- (::Array<::Google::Cloud::Compute::V1::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_secure_tags=
def src_secure_tags=(value) -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleSecureTag>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::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.
Returns
- (::Array<::Google::Cloud::Compute::V1::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
def src_threat_intelligences() -> ::Array<::String>
Returns
- (::Array<::String>) — Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
#src_threat_intelligences=
def src_threat_intelligences=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
Returns
- (::Array<::String>) — Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.