Compute V1 Client - Class SecurityPolicyAdaptiveProtectionConfig (1.18.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ layer7_ddos_defense_config Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

If set to true, enables Cloud Armor Machine Learning.

getLayer7DdosDefenseConfig

If set to true, enables Cloud Armor Machine Learning.

Returns
Type Description
Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig|null

hasLayer7DdosDefenseConfig

clearLayer7DdosDefenseConfig

setLayer7DdosDefenseConfig

If set to true, enables Cloud Armor Machine Learning.

Parameter
Name Description
var Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
Type Description
$this