Compute V1 Client - Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig (2.8.0)

Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.

Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auto_deploy_confidence_threshold float
↳ auto_deploy_expiration_sec int
↳ auto_deploy_impacted_baseline_threshold float
↳ auto_deploy_load_threshold float
↳ detection_absolute_qps float
↳ detection_load_threshold float
↳ detection_relative_to_baseline_qps float
↳ name string

The name must be 1-63 characters long, and comply withRFC1035. The name must be unique within the security policy.

↳ traffic_granularity_configs array<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>

Configuration options for enabling Adaptive Protection to operate on specified granular traffic units.

getAutoDeployConfidenceThreshold

Generated from protobuf field optional float auto_deploy_confidence_threshold = 84309694;

Returns
Type Description
float

hasAutoDeployConfidenceThreshold

clearAutoDeployConfidenceThreshold

setAutoDeployConfidenceThreshold

Generated from protobuf field optional float auto_deploy_confidence_threshold = 84309694;

Parameter
Name Description
var float
Returns
Type Description
$this

getAutoDeployExpirationSec

Generated from protobuf field optional int32 auto_deploy_expiration_sec = 69638793;

Returns
Type Description
int

hasAutoDeployExpirationSec

clearAutoDeployExpirationSec

setAutoDeployExpirationSec

Generated from protobuf field optional int32 auto_deploy_expiration_sec = 69638793;

Parameter
Name Description
var int
Returns
Type Description
$this

getAutoDeployImpactedBaselineThreshold

Generated from protobuf field optional float auto_deploy_impacted_baseline_threshold = 292441667;

Returns
Type Description
float

hasAutoDeployImpactedBaselineThreshold

clearAutoDeployImpactedBaselineThreshold

setAutoDeployImpactedBaselineThreshold

Generated from protobuf field optional float auto_deploy_impacted_baseline_threshold = 292441667;

Parameter
Name Description
var float
Returns
Type Description
$this

getAutoDeployLoadThreshold

Generated from protobuf field optional float auto_deploy_load_threshold = 522227738;

Returns
Type Description
float

hasAutoDeployLoadThreshold

clearAutoDeployLoadThreshold

setAutoDeployLoadThreshold

Generated from protobuf field optional float auto_deploy_load_threshold = 522227738;

Parameter
Name Description
var float
Returns
Type Description
$this

getDetectionAbsoluteQps

Generated from protobuf field optional float detection_absolute_qps = 383123174;

Returns
Type Description
float

hasDetectionAbsoluteQps

clearDetectionAbsoluteQps

setDetectionAbsoluteQps

Generated from protobuf field optional float detection_absolute_qps = 383123174;

Parameter
Name Description
var float
Returns
Type Description
$this

getDetectionLoadThreshold

Generated from protobuf field optional float detection_load_threshold = 430499148;

Returns
Type Description
float

hasDetectionLoadThreshold

clearDetectionLoadThreshold

setDetectionLoadThreshold

Generated from protobuf field optional float detection_load_threshold = 430499148;

Parameter
Name Description
var float
Returns
Type Description
$this

getDetectionRelativeToBaselineQps

Generated from protobuf field optional float detection_relative_to_baseline_qps = 291343749;

Returns
Type Description
float

hasDetectionRelativeToBaselineQps

clearDetectionRelativeToBaselineQps

setDetectionRelativeToBaselineQps

Generated from protobuf field optional float detection_relative_to_baseline_qps = 291343749;

Parameter
Name Description
var float
Returns
Type Description
$this

getName

The name must be 1-63 characters long, and comply withRFC1035.

The name must be unique within the security policy.

Returns
Type Description
string

hasName

clearName

setName

The name must be 1-63 characters long, and comply withRFC1035.

The name must be unique within the security policy.

Parameter
Name Description
var string
Returns
Type Description
$this

getTrafficGranularityConfigs

Configuration options for enabling Adaptive Protection to operate on specified granular traffic units.

Returns
Type Description
Google\Protobuf\RepeatedField<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>

setTrafficGranularityConfigs

Configuration options for enabling Adaptive Protection to operate on specified granular traffic units.

Parameter
Name Description
var array<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>
Returns
Type Description
$this