Class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
Configuration options for Cloud Armor Adaptive Protection (CAAP).
Instance Attribute Summary collapse
-
#layer7_ddos_defense_config ⇒ Google::Apis::ComputeV1::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.
48514 48515 48516 |
# File 'lib/google/apis/compute_v1/classes.rb', line 48514 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layer7_ddos_defense_config ⇒ Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Configuration options for L7 DDoS detection.
This field is only supported in Global Security Policies of type
CLOUD_ARMOR.
Corresponds to the JSON property layer7DdosDefenseConfig
48512 48513 48514 |
# File 'lib/google/apis/compute_v1/classes.rb', line 48512 def layer7_ddos_defense_config @layer7_ddos_defense_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48519 48520 48521 |
# File 'lib/google/apis/compute_v1/classes.rb', line 48519 def update!(**args) @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config) end |