class Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig

Attributes

dest_ip_ranges[RW]

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL. Corresponds to the JSON property `destIpRanges` @return [Array<String>]

layer4_configs[RW]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL. Corresponds to the JSON property `layer4Configs` @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfigLayer4Config>]

src_ip_ranges[RW]

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10. Corresponds to the JSON property `srcIpRanges` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 31491
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 31496
def update!(**args)
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
end