Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.
Configuration options for L7 DDoS detection.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Methods
__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. |
↳ rule_visibility |
string
Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. Check the RuleVisibility enum for the list of possible values. |
getEnable
If set to true, enables CAAP for L7 DDoS detection.
Generated from protobuf field optional bool enable = 311764355;
Returns | |
---|---|
Type | Description |
bool |
hasEnable
clearEnable
setEnable
If set to true, enables CAAP for L7 DDoS detection.
Generated from protobuf field optional bool enable = 311764355;
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.
Check the RuleVisibility enum for the list of possible values.
Generated from protobuf field optional string rule_visibility = 453258293;
Returns | |
---|---|
Type | Description |
string |
hasRuleVisibility
clearRuleVisibility
setRuleVisibility
Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.
Check the RuleVisibility enum for the list of possible values.
Generated from protobuf field optional string rule_visibility = 453258293;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |