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

EnableRule

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

The consumer policy rule that defines usable services and service groups.

interface EnableRule {
enableType?:
| "ENABLE_TYPE_UNSPECIFIED"
| "CLIENT"
| "RESOURCE"
| "V1_COMPATIBLE";
groups?: string[];
services?: string[];
values?: string[];
}

§Properties

§
enableType?: "ENABLE_TYPE_UNSPECIFIED" | "CLIENT" | "RESOURCE" | "V1_COMPATIBLE"
[src]

Client and resource project enable type.

§
groups?: string[]
[src]

DEPRECATED: Please use field values. Service group should have prefix groups/. The names of the service groups that are enabled (Not Implemented). Example: groups/googleServices.

§
services?: string[]
[src]

DEPRECATED: Please use field values. Service should have prefix services/. The names of the services that are enabled. Example: storage.googleapis.com.

§
values?: string[]
[src]

The names of the services or service groups that are enabled. Example: services/storage.googleapis.com, groups/googleServices, groups/allServices.