Class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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.



29288
29289
29290
# File 'generated/google/apis/compute_beta/classes.rb', line 29288

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

Instance Attribute Details

#layer7_ddos_defense_configGoogle::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

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



29286
29287
29288
# File 'generated/google/apis/compute_beta/classes.rb', line 29286

def layer7_ddos_defense_config
  @layer7_ddos_defense_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29293
29294
29295
# File 'generated/google/apis/compute_beta/classes.rb', line 29293

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