Class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SecurityPolicyRuleMatcherConfig

Returns a new instance of SecurityPolicyRuleMatcherConfig



20275
20276
20277
# File 'generated/google/apis/compute_alpha/classes.rb', line 20275

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#src_ip_rangesArray<String>

CIDR IP address range. Corresponds to the JSON property srcIpRanges

Returns:

  • (Array<String>)


20273
20274
20275
# File 'generated/google/apis/compute_alpha/classes.rb', line 20273

def src_ip_ranges
  @src_ip_ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20280
20281
20282
# File 'generated/google/apis/compute_alpha/classes.rb', line 20280

def update!(**args)
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
end