Class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyRuleMatcherConfig

Returns a new instance of SecurityPolicyRuleMatcherConfig.



27263
27264
27265
# File 'generated/google/apis/compute_v1/classes.rb', line 27263

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

Instance Attribute Details

#src_ip_rangesArray<String>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10. Corresponds to the JSON property srcIpRanges

Returns:

  • (Array<String>)


27261
27262
27263
# File 'generated/google/apis/compute_v1/classes.rb', line 27261

def src_ip_ranges
  @src_ip_ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27268
27269
27270
# File 'generated/google/apis/compute_v1/classes.rb', line 27268

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