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

ConsumerPolicy

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

Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy.

interface ConsumerPolicy {
annotations?: {
[key: string]: string;
}
;
enableRules?: EnableRule[];
etag?: string;
readonly name?: string;
updateTime?: Date;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. AIP-128

§
enableRules?: EnableRule[]
[src]

Enable rules define usable services and service groups.

§
etag?: string
[src]

An opaque tag indicating the current version of the policy, used for concurrency control.

§
readonly name?: string
[src]

Output only. The resource name of the policy. We only allow consumer policy name as default for now: projects/12345/consumerPolicies/default, folders/12345/consumerPolicies/default, organizations/12345/consumerPolicies/default.

§
updateTime?: Date
[src]

The last-modified time.