Compute V1 Client - Class SecurityPoliciesWafConfig (1.21.0)

Reference documentation and code samples for the Compute V1 Client class SecurityPoliciesWafConfig.

Generated from protobuf message google.cloud.compute.v1.SecurityPoliciesWafConfig

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ waf_rules PreconfiguredWafSet

getWafRules

Generated from protobuf field optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
Type Description
PreconfiguredWafSet|null

hasWafRules

clearWafRules

setWafRules

Generated from protobuf field optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Parameter
Name Description
var PreconfiguredWafSet
Returns
Type Description
$this