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



7241
7242
7243
7244
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7241

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:



7241
7242
7243
7244
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7241

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.



7241
7242
7243
7244
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7241

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.



7241
7242
7243
7244
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7241

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