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

ApiOperation

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

Identification for an API Operation.

interface ApiOperation {
methodSelectors?: MethodSelector[];
serviceName?: string;
}

§Properties

§
methodSelectors?: MethodSelector[]
[src]

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

§
serviceName?: string
[src]

The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with service_name field set to * will allow all methods AND permissions for all services.