OrgPolicyViolation(mapping=None, *, ignore_unknown_fields=False, **kwargs)OrgPolicyViolation is a resource representing a single resource violating a single OrgPolicy constraint.
Attributes |
|
|---|---|
| Name | Description |
name |
str
The name of the OrgPolicyViolation. Example:
organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce\`
|
resource |
google.cloud.policysimulator_v1.types.ResourceContext
The resource violating the constraint. |
custom_constraint |
google.cloud.orgpolicy_v2.types.CustomConstraint
The custom constraint being violated. |
error |
google.rpc.status_pb2.Status
Any error encountered during the evaluation. |