Compute V1 Client - Class SecurityPolicyRulePreconfiguredWafConfigExclusion (1.14.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ request_cookies_to_exclude array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

↳ request_headers_to_exclude array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

↳ request_query_params_to_exclude array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

↳ request_uris_to_exclude array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

↳ target_rule_ids array

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

↳ target_rule_set string

Target WAF rule set to apply the preconfigured WAF exclusion.

getRequestCookiesToExclude

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequestCookiesToExclude

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
Returns
TypeDescription
$this

getRequestHeadersToExclude

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequestHeadersToExclude

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
Returns
TypeDescription
$this

getRequestQueryParamsToExclude

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequestQueryParamsToExclude

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
Returns
TypeDescription
$this

getRequestUrisToExclude

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequestUrisToExclude

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
Returns
TypeDescription
$this

getTargetRuleIds

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTargetRuleIds

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getTargetRuleSet

Target WAF rule set to apply the preconfigured WAF exclusion.

Returns
TypeDescription
string

hasTargetRuleSet

clearTargetRuleSet

setTargetRuleSet

Target WAF rule set to apply the preconfigured WAF exclusion.

Parameter
NameDescription
var string
Returns
TypeDescription
$this