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 \ V1Methods
__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 is populated and the firewall_policy is left empty. |
↳ firewall_policy |
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 is left empty. |
getError
Output only. If the processing of a policy config fails, an error is populated and the firewall_policy is left empty.
Returns | |
---|---|
Type | Description |
Google\Rpc\Status|null |
hasError
clearError
setError
Output only. If the processing of a policy config fails, an error is populated and the firewall_policy is 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 is left empty.
Returns | |
---|---|
Type | Description |
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 is left empty.
Parameter | |
---|---|
Name | Description |
var |
FirewallPolicy
|
Returns | |
---|---|
Type | Description |
$this |