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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ request_cookies_to_exclude |
array<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. |
↳ request_headers_to_exclude |
array<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation. |
↳ request_query_params_to_exclude |
array<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<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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRequestCookiesToExclude
A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
Parameter | |
---|---|
Name | Description |
var |
array<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
|
Returns | |
---|---|
Type | Description |
$this |
getRequestHeadersToExclude
A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRequestHeadersToExclude
A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
Parameter | |
---|---|
Name | Description |
var |
array<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getTargetRuleSet
Target WAF rule set to apply the preconfigured WAF exclusion.
Returns | |
---|---|
Type | Description |
string |
hasTargetRuleSet
clearTargetRuleSet
setTargetRuleSet
Target WAF rule set to apply the preconfigured WAF exclusion.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |