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

Rule

import type { Rule } from "https://googleapis.deno.dev/v1/workloadmanager:v1.ts";

Message represent a rule

interface Rule {
description?: string;
displayName?: string;
errorMessage?: string;
name?: string;
primaryCategory?: string;
remediation?: string;
readonly revisionId?: string;
secondaryCategory?: string;
severity?: string;
tags?: string[];
uri?: string;
}

§Properties

§
description?: string
[src]

descrite rule in plain language

§
displayName?: string
[src]

the name display in UI

§
errorMessage?: string
[src]

the message template for rule

§
name?: string
[src]

rule name

§
primaryCategory?: string
[src]

the primary category

§
remediation?: string
[src]

the remediation for the rule

§
readonly revisionId?: string
[src]

Output only. the version of the rule

§
secondaryCategory?: string
[src]

the secondary category

§
severity?: string
[src]

the severity of the rule

§
tags?: string[]
[src]

List of user-defined tags

§
uri?: string
[src]

the docuement url for the rule