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.



41614
41615
41616
# File 'lib/google/apis/compute_alpha/classes.rb', line 41614

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

Instance Attribute Details

#auto_deploy_configGoogle::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

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



41606
41607
41608
# File 'lib/google/apis/compute_alpha/classes.rb', line 41606

def auto_deploy_config
  @auto_deploy_config
end

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



41612
41613
41614
# File 'lib/google/apis/compute_alpha/classes.rb', line 41612

def layer7_ddos_defense_config
  @layer7_ddos_defense_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41619
41620
41621
41622
# File 'lib/google/apis/compute_alpha/classes.rb', line 41619

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