# Class ExplainedDenyResource (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.13

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

Details about how a specific resource contributed to the deny
policy evaluation.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `deny_access_state` | `https://docs.cloud.google.com/python/docs/reference/policytroubleshooter-iam/latest/google.cloud.policytroubleshooter_iam_v3.types.DenyAccessState` Required. Indicates whether any policies attached to \*this resource\* deny the specific permission to the specified principal for the specified resource. This field does \*not\* indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `overall_access_state` field in the TroubleshootIamPolicyResponse. |
| `full_resource_name` | `str` The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. If the sender of the request does not have access to the policy, this field is omitted. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. |
| `explained_policies` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/policytroubleshooter-iam/latest/google.cloud.policytroubleshooter_iam_v3.types.ExplainedDenyPolicy]` List of IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result. |
| `relevance` | `https://docs.cloud.google.com/python/docs/reference/policytroubleshooter-iam/latest/google.cloud.policytroubleshooter_iam_v3.types.HeuristicRelevance` The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse. If the sender of the request does not have access to the policy, this field is omitted. |