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

Api

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

This message defines attributes associated with API operations, such as a network API request. The terminology is based on the conventions used by Google APIs, Istio, and OpenAPI.

interface Api {
operation?: string;
protocol?: string;
service?: string;
version?: string;
}

§Properties

§
operation?: string
[src]

The API operation name. For gRPC requests, it is the fully qualified API method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI requests, it is the operationId, such as "getPet".

§
protocol?: string
[src]

The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".

§
service?: string
[src]

The API service name. It is a logical identifier for a networked API, such as "pubsub.googleapis.com". The naming syntax depends on the API management system being used for handling the request.

§
version?: string
[src]

The API version associated with the API operation above, such as "v1" or "v1alpha1".