Class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig.



39900
39901
39902
# File 'lib/google/apis/compute_beta/classes.rb', line 39900

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

Instance Attribute Details

#confidence_thresholdFloat

Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


39883
39884
39885
# File 'lib/google/apis/compute_beta/classes.rb', line 39883

def confidence_threshold
  @confidence_threshold
end

#expiration_secFixnum

Corresponds to the JSON property expirationSec

Returns:

  • (Fixnum)


39888
39889
39890
# File 'lib/google/apis/compute_beta/classes.rb', line 39888

def expiration_sec
  @expiration_sec
end

#impacted_baseline_thresholdFloat

Corresponds to the JSON property impactedBaselineThreshold

Returns:

  • (Float)


39893
39894
39895
# File 'lib/google/apis/compute_beta/classes.rb', line 39893

def impacted_baseline_threshold
  @impacted_baseline_threshold
end

#load_thresholdFloat

Corresponds to the JSON property loadThreshold

Returns:

  • (Float)


39898
39899
39900
# File 'lib/google/apis/compute_beta/classes.rb', line 39898

def load_threshold
  @load_threshold
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39905
39906
39907
39908
39909
39910
# File 'lib/google/apis/compute_beta/classes.rb', line 39905

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