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

ContextRule

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

A context rule provides information about the context for an individual API element.

interface ContextRule {
allowedRequestExtensions?: string[];
allowedResponseExtensions?: string[];
provided?: string[];
requested?: string[];
selector?: string;
}

§Properties

§
allowedRequestExtensions?: string[]
[src]

A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

§
allowedResponseExtensions?: string[]
[src]

A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

§
provided?: string[]
[src]

A list of full type names of provided contexts.

§
requested?: string[]
[src]

A list of full type names of requested contexts.

§
selector?: string
[src]

Selects the methods to which this rule applies. Refer to selector for syntax details.