Class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
- 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 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.
38652 38653 38654 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_threshold ⇒ Float
Corresponds to the JSON property confidenceThreshold
38635 38636 38637 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38635 def confidence_threshold @confidence_threshold end |
#expiration_sec ⇒ Fixnum
Corresponds to the JSON property expirationSec
38640 38641 38642 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38640 def expiration_sec @expiration_sec end |
#impacted_baseline_threshold ⇒ Float
Corresponds to the JSON property impactedBaselineThreshold
38645 38646 38647 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38645 def impacted_baseline_threshold @impacted_baseline_threshold end |
#load_threshold ⇒ Float
Corresponds to the JSON property loadThreshold
38650 38651 38652 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38650 def load_threshold @load_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38657 38658 38659 38660 38661 38662 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38657 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 |