Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::FirewallPolicyRuleMatcher (v2.3.0)

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_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

#layer4_configs=

def layer4_configs=(value) -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>
Parameter
Returns

#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_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.