Class ExplainedDenyPolicy (0.1.10)

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

Details about how a specific IAM deny policy Policy][google.iam.v2.Policy] contributed to the access check.

Attributes

Name Description
deny_access_state google.cloud.policytroubleshooter_iam_v3.types.DenyAccessState
Required. Indicates whether *this policy* denies the specified 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.
policy google.cloud.iam_v2.Policy
The IAM deny policy attached to the resource. If the sender of the request does not have access to the policy, this field is omitted.
rule_explanations MutableSequence[google.cloud.policytroubleshooter_iam_v3.types.DenyRuleExplanation]
Details about how each rule in the policy affects the principal's inability to use the permission for the resource. The order of the deny rule matches the order of the rules in the deny policy. If the sender of the request does not have access to the policy, this field is omitted.
relevance 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.