Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::FirewallPolicyRuleMatcher (v1.7.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_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.

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