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

Control

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

Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com

interface Control {
environment?: string;
methodPolicies?: MethodPolicy[];
}

§Properties

§
environment?: string
[src]

The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com

§
methodPolicies?: MethodPolicy[]
[src]

Defines policies applying to the API methods of the service.