Class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Configuration options for Cloud Armor Adaptive Protection (CAAP).
Instance Attribute Summary collapse
-
#auto_deploy_config ⇒ Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
Configuration options for Adaptive Protection auto-deploy feature.
-
#layer7_ddos_defense_config ⇒ Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Configuration options for L7 DDoS detection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfig
constructor
A new instance of SecurityPolicyAdaptiveProtectionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfig
Returns a new instance of SecurityPolicyAdaptiveProtectionConfig.
40312 40313 40314 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40312 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_deploy_config ⇒ Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
Configuration options for Adaptive Protection auto-deploy feature.
Corresponds to the JSON property autoDeployConfig
40305 40306 40307 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40305 def auto_deploy_config @auto_deploy_config end |
#layer7_ddos_defense_config ⇒ Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Configuration options for L7 DDoS detection.
Corresponds to the JSON property layer7DdosDefenseConfig
40310 40311 40312 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40310 def layer7_ddos_defense_config @layer7_ddos_defense_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40317 40318 40319 40320 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40317 def update!(**args) @auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config) @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config) end |