class Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Configuration options for L7 DDoS detection.
Attributes
enable[RW]
If set to true, enables CAAP for L7 DDoS detection. Corresponds to the JSON property `enable` @return [Boolean]
enable?[RW]
If set to true, enables CAAP for L7 DDoS detection. Corresponds to the JSON property `enable` @return [Boolean]
rule_visibility[RW]
Rule
visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. Corresponds to the JSON property `ruleVisibility` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 31820 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 31825 def update!(**args) @enable = args[:enable] if args.key?(:enable) @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility) end