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

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



33418
33419
33420
# File 'lib/google/apis/compute_beta/classes.rb', line 33418

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

Instance Attribute Details

#auto_deploy_configGoogle::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

Configuration options for Adaptive Protection auto-deploy feature. Corresponds to the JSON property autoDeployConfig



33411
33412
33413
# File 'lib/google/apis/compute_beta/classes.rb', line 33411

def auto_deploy_config
  @auto_deploy_config
end

#layer7_ddos_defense_configGoogle::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

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



33416
33417
33418
# File 'lib/google/apis/compute_beta/classes.rb', line 33416

def layer7_ddos_defense_config
  @layer7_ddos_defense_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33423
33424
33425
33426
# File 'lib/google/apis/compute_beta/classes.rb', line 33423

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