Class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
- 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 Adaptive Protection auto-deploy feature.
Instance Attribute Summary collapse
-
#confidence_threshold ⇒ Float
Corresponds to the JSON property
confidenceThreshold. -
#expiration_sec ⇒ Fixnum
Corresponds to the JSON property
expirationSec. -
#impacted_baseline_threshold ⇒ Float
Corresponds to the JSON property
impactedBaselineThreshold. -
#load_threshold ⇒ Float
Corresponds to the JSON property
loadThreshold.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
constructor
A new instance of SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
Returns a new instance of SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig.
69307 69308 69309 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_threshold ⇒ Float
Corresponds to the JSON property confidenceThreshold
69290 69291 69292 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69290 def confidence_threshold @confidence_threshold end |
#expiration_sec ⇒ Fixnum
Corresponds to the JSON property expirationSec
69295 69296 69297 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69295 def expiration_sec @expiration_sec end |
#impacted_baseline_threshold ⇒ Float
Corresponds to the JSON property impactedBaselineThreshold
69300 69301 69302 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69300 def impacted_baseline_threshold @impacted_baseline_threshold end |
#load_threshold ⇒ Float
Corresponds to the JSON property loadThreshold
69305 69306 69307 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69305 def load_threshold @load_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69312 69313 69314 69315 69316 69317 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69312 def update!(**args) @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold) @expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec) @impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold) @load_threshold = args[:load_threshold] if args.key?(:load_threshold) end |