Google Cloud Recaptcha Enterprise V1 Client - Class FirewallPolicyAssessment (1.14.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class FirewallPolicyAssessment.

Policy config assessment.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error Google\Rpc\Status

Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.

↳ firewall_policy Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicy

Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.

getError

Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getFirewallPolicy

Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.

Returns
Type Description
Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicy|null

hasFirewallPolicy

clearFirewallPolicy

setFirewallPolicy

Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.

Parameter
Name Description
var Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicy
Returns
Type Description
$this