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

GoogleCloudAssuredworkloadsV1OrgPolicy

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

This assured workload service object is used to represent the org policy attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy object but with functionality that is limited to what is supported by Assured Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).

interface GoogleCloudAssuredworkloadsV1OrgPolicy {
constraint?: string;
inherit?: boolean;
reset?: boolean;
resource?: string;
}

§Properties

§
constraint?: string
[src]

The constraint name of the OrgPolicy. e.g. "constraints/gcp.resourceLocations".

§
inherit?: boolean
[src]

If inherit is true, policy rules of the lowest ancestor in the resource hierarchy chain are inherited. If it is false, policy rules are not inherited.

§
reset?: boolean
[src]

Ignores policies set above this resource and restores to the constraint_default value. reset can only be true when rules is empty and inherit is false.

§
resource?: string
[src]

Resource that the OrgPolicy attaches to. Format: folders/123" projects/123".