Class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfig.



34920
34921
34922
# File 'lib/google/apis/compute_alpha/classes.rb', line 34920

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

Instance Attribute Details

#layer7_ddos_defense_configGoogle::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

Configuration options for L7 DDoS detection. Corresponds to the JSON property layer7DdosDefenseConfig



34918
34919
34920
# File 'lib/google/apis/compute_alpha/classes.rb', line 34918

def layer7_ddos_defense_config
  @layer7_ddos_defense_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34925
34926
34927
# File 'lib/google/apis/compute_alpha/classes.rb', line 34925

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