Class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

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 L7 DDoS detection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.



29314
29315
29316
# File 'generated/google/apis/compute_beta/classes.rb', line 29314

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

Instance Attribute Details

#enableBoolean Also known as: enable?

If set to true, enables CAAP for L7 DDoS detection. Corresponds to the JSON property enable

Returns:

  • (Boolean)


29305
29306
29307
# File 'generated/google/apis/compute_beta/classes.rb', line 29305

def enable
  @enable
end

#rule_visibilityString

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. Corresponds to the JSON property ruleVisibility

Returns:

  • (String)


29312
29313
29314
# File 'generated/google/apis/compute_beta/classes.rb', line 29312

def rule_visibility
  @rule_visibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29319
29320
29321
29322
# File 'generated/google/apis/compute_beta/classes.rb', line 29319

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