Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAdaptiveProtectionConfig.
Configuration options for Cloud Armor Adaptive Protection (CAAP).
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ layer7_ddos_defense_config |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
If set to true, enables Cloud Armor Machine Learning. |
getLayer7DdosDefenseConfig
If set to true, enables Cloud Armor Machine Learning.
Returns | |
---|---|
Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig|null |
hasLayer7DdosDefenseConfig
clearLayer7DdosDefenseConfig
setLayer7DdosDefenseConfig
If set to true, enables Cloud Armor Machine Learning.
Parameter | |
---|---|
Name | Description |
var |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
Returns | |
---|---|
Type | Description |
$this |