Compute V1 Client - Class SecurityPolicyAdaptiveProtectionConfig (1.12.1)

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
NameDescription
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
TypeDescription
Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig|null

hasLayer7DdosDefenseConfig

clearLayer7DdosDefenseConfig

setLayer7DdosDefenseConfig

If set to true, enables Cloud Armor Machine Learning.

Parameter
NameDescription
var Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
TypeDescription
$this