Class: Google::Cloud::Compute::V1::FirewallPolicyRuleMatcher

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.

Instance Attribute Summary collapse

Instance Attribute Details

#dest_address_groups::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dest_fqdns::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dest_ip_ranges::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dest_region_codes::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dest_threat_intelligences::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#layer4_configs::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleMatcherLayer4Config>

Returns Pairs of IP protocols and ports that the rule should match.

Returns:



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_address_groups::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_fqdns::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_ip_ranges::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_region_codes::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_secure_tags::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleSecureTag>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_threat_intelligences::Array<::String>

Returns 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.



8237
8238
8239
8240
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 8237

class FirewallPolicyRuleMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end