Class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.



42775
42776
42777
# File 'lib/google/apis/compute_alpha/classes.rb', line 42775

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

Instance Attribute Details

#auto_deploy_confidence_thresholdFloat

Corresponds to the JSON property autoDeployConfidenceThreshold

Returns:

  • (Float)


42752
42753
42754
# File 'lib/google/apis/compute_alpha/classes.rb', line 42752

def auto_deploy_confidence_threshold
  @auto_deploy_confidence_threshold
end

#auto_deploy_expiration_secFixnum

Corresponds to the JSON property autoDeployExpirationSec

Returns:

  • (Fixnum)


42757
42758
42759
# File 'lib/google/apis/compute_alpha/classes.rb', line 42757

def auto_deploy_expiration_sec
  @auto_deploy_expiration_sec
end

#auto_deploy_impacted_baseline_thresholdFloat

Corresponds to the JSON property autoDeployImpactedBaselineThreshold

Returns:

  • (Float)


42762
42763
42764
# File 'lib/google/apis/compute_alpha/classes.rb', line 42762

def auto_deploy_impacted_baseline_threshold
  @auto_deploy_impacted_baseline_threshold
end

#auto_deploy_load_thresholdFloat

Corresponds to the JSON property autoDeployLoadThreshold

Returns:

  • (Float)


42767
42768
42769
# File 'lib/google/apis/compute_alpha/classes.rb', line 42767

def auto_deploy_load_threshold
  @auto_deploy_load_threshold
end

#nameString

The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy. Corresponds to the JSON property name

Returns:

  • (String)


42773
42774
42775
# File 'lib/google/apis/compute_alpha/classes.rb', line 42773

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42780
42781
42782
42783
42784
42785
42786
# File 'lib/google/apis/compute_alpha/classes.rb', line 42780

def update!(**args)
  @auto_deploy_confidence_threshold = args[:auto_deploy_confidence_threshold] if args.key?(:auto_deploy_confidence_threshold)
  @auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
  @auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
  @auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
  @name = args[:name] if args.key?(:name)
end