Class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

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 Adaptive Protection auto-deploy feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig.



42667
42668
42669
# File 'lib/google/apis/compute_alpha/classes.rb', line 42667

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

Instance Attribute Details

#confidence_thresholdFloat

Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


42650
42651
42652
# File 'lib/google/apis/compute_alpha/classes.rb', line 42650

def confidence_threshold
  @confidence_threshold
end

#expiration_secFixnum

Corresponds to the JSON property expirationSec

Returns:

  • (Fixnum)


42655
42656
42657
# File 'lib/google/apis/compute_alpha/classes.rb', line 42655

def expiration_sec
  @expiration_sec
end

#impacted_baseline_thresholdFloat

Corresponds to the JSON property impactedBaselineThreshold

Returns:

  • (Float)


42660
42661
42662
# File 'lib/google/apis/compute_alpha/classes.rb', line 42660

def impacted_baseline_threshold
  @impacted_baseline_threshold
end

#load_thresholdFloat

Corresponds to the JSON property loadThreshold

Returns:

  • (Float)


42665
42666
42667
# File 'lib/google/apis/compute_alpha/classes.rb', line 42665

def load_threshold
  @load_threshold
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42672
42673
42674
42675
42676
42677
# File 'lib/google/apis/compute_alpha/classes.rb', line 42672

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