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

V2ApiTarget

import type { V2ApiTarget } from "https://googleapis.deno.dev/v1/apikeys:v2.ts";

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

interface V2ApiTarget {
methods?: string[];
service?: string;
}

§Properties

§
methods?: string[]
[src]

Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: google.cloud.translate.v2.TranslateService.GetSupportedLanguage TranslateText Get* translate.googleapis.com.Get*

§
service?: string
[src]

The service for this restriction. It should be the canonical service name, for example: translate.googleapis.com. You can use gcloud services list to get a list of services that are enabled in the project.