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.
§
The rule of the OrgPolicy.