Class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfig.



37135
37136
37137
# File 'lib/google/apis/compute_v1/classes.rb', line 37135

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#layer7_ddos_defense_configGoogle::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



37133
37134
37135
# File 'lib/google/apis/compute_v1/classes.rb', line 37133

def layer7_ddos_defense_config
  @layer7_ddos_defense_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37140
37141
37142
# File 'lib/google/apis/compute_v1/classes.rb', line 37140

def update!(**args)
  @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
end