Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ViolationInfo

import type { ViolationInfo } from "https://googleapis.deno.dev/v1/servicecontrol:v2.ts";

Provides information about the Policy violation info for this request.

interface ViolationInfo {
checkedValue?: string;
constraint?: string;
errorMessage?: string;
policyType?:
| "POLICY_TYPE_UNSPECIFIED"
| "BOOLEAN_CONSTRAINT"
| "LIST_CONSTRAINT"
| "CUSTOM_CONSTRAINT";
}

§Properties

§
checkedValue?: string
[src]

Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types

§
constraint?: string
[src]

Optional. Constraint name

§
errorMessage?: string
[src]

Optional. Error message that policy is indicating.

§
policyType?: "POLICY_TYPE_UNSPECIFIED" | "BOOLEAN_CONSTRAINT" | "LIST_CONSTRAINT" | "CUSTOM_CONSTRAINT"
[src]

Optional. Indicates the type of the policy.