Class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SecurityPolicyRuleMatcherConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#src_ip_ranges ⇒ Array<String>
CIDR IP address range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyRuleMatcherConfig
constructor
A new instance of SecurityPolicyRuleMatcherConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyRuleMatcherConfig
Returns a new instance of SecurityPolicyRuleMatcherConfig.
37787 37788 37789 |
# File 'lib/google/apis/compute_v1/classes.rb', line 37787 def initialize(**args) update!(**args) end |
Instance Attribute Details
#src_ip_ranges ⇒ Array<String>
CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
Corresponds to the JSON property srcIpRanges
37785 37786 37787 |
# File 'lib/google/apis/compute_v1/classes.rb', line 37785 def src_ip_ranges @src_ip_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37792 37793 37794 |
# File 'lib/google/apis/compute_v1/classes.rb', line 37792 def update!(**args) @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges) end |