Compute V1 Client - Class SecurityPoliciesWafConfig (1.9.1)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ waf_rules Google\Cloud\Compute\V1\PreconfiguredWafSet

getWafRules

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

Returns
TypeDescription
Google\Cloud\Compute\V1\PreconfiguredWafSet|null

hasWafRules

clearWafRules

setWafRules

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

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