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

Policy

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

A Policy resource binds an instance of a single Setting with the scope of a PolicyQuery. The Setting instance will be applied to all entities that satisfy the query.

interface Policy {
customer?: string;
readonly name?: string;
policyQuery?: PolicyQuery;
setting?: Setting;
readonly type?: "POLICY_TYPE_UNSPECIFIED" | "SYSTEM" | "ADMIN";
}

§Properties

§
customer?: string
[src]

Immutable. Customer that the Policy belongs to. The value is in the format 'customers/{customerId}'. The customerId must begin with "C" To find your customer ID in Admin Console see https://support.google.com/a/answer/10070793.

§
readonly name?: string
[src]

Output only. Identifier. The resource name of the Policy. Format: policies/{policy}.

§
policyQuery?: PolicyQuery
[src]

Required. The PolicyQuery the Setting applies to.

§
setting?: Setting
[src]

Required. The Setting configured by this Policy.

§
readonly type?: "POLICY_TYPE_UNSPECIFIED" | "SYSTEM" | "ADMIN"
[src]

Output only. The type of the policy.