Class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
- 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
Overview
Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
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.
-
#threshold_configs ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>
Configuration options for layer7 adaptive protection for various customizable thresholds.
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.
39938 39939 39940 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39938 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. This field is only
supported in Global Security Policies of type CLOUD_ARMOR.
Corresponds to the JSON property enable
39922 39923 39924 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39922 def enable @enable end |
#rule_visibility ⇒ String
Rule visibility can be one of the following: STANDARD - opaque rules. (default)
PREMIUM - transparent rules. This field is only supported in Global Security
Policies of type CLOUD_ARMOR.
Corresponds to the JSON property ruleVisibility
39930 39931 39932 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39930 def rule_visibility @rule_visibility end |
#threshold_configs ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>
Configuration options for layer7 adaptive protection for various customizable
thresholds.
Corresponds to the JSON property thresholdConfigs
39936 39937 39938 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39936 def threshold_configs @threshold_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39943 39944 39945 39946 39947 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39943 def update!(**args) @enable = args[:enable] if args.key?(:enable) @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility) @threshold_configs = args[:threshold_configs] if args.key?(:threshold_configs) end |