Class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#exclusions ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion>
A list of exclusions to apply during preconfigured WAF evaluation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyRulePreconfiguredWafConfig
constructor
A new instance of SecurityPolicyRulePreconfiguredWafConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyRulePreconfiguredWafConfig
Returns a new instance of SecurityPolicyRulePreconfiguredWafConfig.
40821 40822 40823 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40821 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusions ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion>
A list of exclusions to apply during preconfigured WAF evaluation.
Corresponds to the JSON property exclusions
40819 40820 40821 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40819 def exclusions @exclusions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40826 40827 40828 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40826 def update!(**args) @exclusions = args[:exclusions] if args.key?(:exclusions) end |