Class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
- 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
Overview
Configuration options for L7 DDoS detection.
Instance Attribute Summary collapse
-
#enable ⇒ Boolean
(also: #enable?)
If set to true, enables CAAP for L7 DDoS detection.
-
#rule_visibility ⇒ String
Rule visibility can be one of the following: STANDARD - opaque rules.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
constructor
A new instance of SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns a new instance of SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.
33302 33303 33304 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 33302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable ⇒ Boolean Also known as: enable?
If set to true, enables CAAP for L7 DDoS detection.
Corresponds to the JSON property enable
33293 33294 33295 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 33293 def enable @enable end |
#rule_visibility ⇒ String
Rule visibility can be one of the following: STANDARD - opaque rules. (default)
PREMIUM - transparent rules.
Corresponds to the JSON property ruleVisibility
33300 33301 33302 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 33300 def rule_visibility @rule_visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33307 33308 33309 33310 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 33307 def update!(**args) @enable = args[:enable] if args.key?(:enable) @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility) end |