Compute V1 Client - Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig (1.9.1)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Returns
TypeDescription
bool

hasEnable

clearEnable

setEnable

If set to true, enables CAAP for L7 DDoS detection.

Parameter
NameDescription
var bool
Returns
TypeDescription
$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.

Returns
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this