Class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig

Returns a new instance of SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.



35402
35403
35404
# File 'lib/google/apis/compute_v1/classes.rb', line 35402

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

Instance Attribute Details

#auto_deploy_confidence_thresholdFloat

Corresponds to the JSON property autoDeployConfidenceThreshold

Returns:

  • (Float)


35379
35380
35381
# File 'lib/google/apis/compute_v1/classes.rb', line 35379

def auto_deploy_confidence_threshold
  @auto_deploy_confidence_threshold
end

#auto_deploy_expiration_secFixnum

Corresponds to the JSON property autoDeployExpirationSec

Returns:

  • (Fixnum)


35384
35385
35386
# File 'lib/google/apis/compute_v1/classes.rb', line 35384

def auto_deploy_expiration_sec
  @auto_deploy_expiration_sec
end

#auto_deploy_impacted_baseline_thresholdFloat

Corresponds to the JSON property autoDeployImpactedBaselineThreshold

Returns:

  • (Float)


35389
35390
35391
# File 'lib/google/apis/compute_v1/classes.rb', line 35389

def auto_deploy_impacted_baseline_threshold
  @auto_deploy_impacted_baseline_threshold
end

#auto_deploy_load_thresholdFloat

Corresponds to the JSON property autoDeployLoadThreshold

Returns:

  • (Float)


35394
35395
35396
# File 'lib/google/apis/compute_v1/classes.rb', line 35394

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)


35400
35401
35402
# File 'lib/google/apis/compute_v1/classes.rb', line 35400

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35407
35408
35409
35410
35411
35412
35413
# File 'lib/google/apis/compute_v1/classes.rb', line 35407

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