# Class DeployPolicyEvaluationEvent (2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.1 2.6.3 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.0 1.19.1 1.18.1 1.17.3 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.1 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.1 1.1.1 1.0.0 0.3.2 0.2.0 0.1.1

    DeployPolicyEvaluationEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Payload proto for
"clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log
event that describes the deploy policy evaluation event.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `message` | `str` Debug message for when a deploy policy event occurs. |
| `rule_type` | `str` Rule type (e.g. Restrict Rollouts). |
| `rule` | `str` Rule id. |
| `pipeline_uid` | `str` Unique identifier of the `Delivery Pipeline`. |
| `delivery_pipeline` | `str` The name of the `Delivery Pipeline`. |
| `target_uid` | `str` Unique identifier of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy. |
| `target` | `str` The name of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy. |
| `invoker` | `https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.DeployPolicy.Invoker` What invoked the action (e.g. a user or automation). |
| `deploy_policy` | `str` The name of the `DeployPolicy`. |
| `deploy_policy_uid` | `str` Unique identifier of the `DeployPolicy`. |
| `allowed` | `bool` Whether the request is allowed. Allowed is set as true if: (1) the request complies with the policy; or (2) the request doesn't comply with the policy but the policy was overridden; or (3) the request doesn't comply with the policy but the policy was suspended |
| `verdict` | `https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.DeployPolicyEvaluationEvent.PolicyVerdict` The policy verdict of the request. |
| `overrides` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.DeployPolicyEvaluationEvent.PolicyVerdictOverride]` Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed. |

## Classes

### PolicyVerdict

    PolicyVerdict(value)

The policy verdict of the request.

### PolicyVerdictOverride

    PolicyVerdictOverride(value)

Things that could have overridden the policy verdict. When overrides
are used, the request will be allowed even if it is
DENIED_BY_POLICY.