Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.
Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enable |
bool
If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. |
↳ rule_visibility |
string
Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values. |
↳ threshold_configs |
array<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>
Configuration options for layer7 adaptive protection for various customizable thresholds. |
getEnable
If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
Returns | |
---|---|
Type | Description |
bool |
hasEnable
clearEnable
setEnable
If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getRuleVisibility
Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
Check the RuleVisibility enum for the list of possible values.
Returns | |
---|---|
Type | Description |
string |
hasRuleVisibility
clearRuleVisibility
setRuleVisibility
Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
Check the RuleVisibility enum for the list of possible values.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getThresholdConfigs
Configuration options for layer7 adaptive protection for various customizable thresholds.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setThresholdConfigs
Configuration options for layer7 adaptive protection for various customizable thresholds.
Parameter | |
---|---|
Name | Description |
var |
array<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>
|
Returns | |
---|---|
Type | Description |
$this |