GoogleCloudPolicysimulatorV1OrgPolicyViolation
import type { GoogleCloudPolicysimulatorV1OrgPolicyViolation } from "https://googleapis.deno.dev/v1/policysimulator:v1.ts";
OrgPolicyViolation is a resource representing a single resource violating a single OrgPolicy constraint.
interface GoogleCloudPolicysimulatorV1OrgPolicyViolation {
customConstraint?: GoogleCloudOrgpolicyV2CustomConstraint;
error?: GoogleRpcStatus;
name?: string;
resource?: GoogleCloudPolicysimulatorV1ResourceContext;
}§Properties
§
customConstraint?: GoogleCloudOrgpolicyV2CustomConstraint
[src]The custom constraint being violated.
§
error?: GoogleRpcStatus
[src]Any error encountered during the evaluation.
§
name?: string
[src]The name of the OrgPolicyViolation
. Example:
organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`
§
The resource violating the constraint.