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

MethodPolicy

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

Defines policies applying to an RPC method.

interface MethodPolicy {
requestPolicies?: FieldPolicy[];
selector?: string;
}

§Properties

§
requestPolicies?: FieldPolicy[]
[src]

Policies that are applicable to the request message.

§
selector?: string
[src]

Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .