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

HttpOperation

import type { HttpOperation } from "https://googleapis.deno.dev/v1/apim:v1alpha.ts";

An HTTP-based API Operation, sometimes called a "REST" Operation.

interface HttpOperation {
method?:
| "HTTP_METHOD_UNSPECIFIED"
| "GET"
| "HEAD"
| "POST"
| "PUT"
| "PATCH"
| "DELETE"
| "TRACE"
| "OPTIONS"
| "CONNECT";
path?: string;
pathParams?: HttpOperationPathParam[];
queryParams?: {
[key: string]: HttpOperationQueryParam;
}
;
}

§Properties

§
method?: "HTTP_METHOD_UNSPECIFIED" | "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "TRACE" | "OPTIONS" | "CONNECT"
[src]

HTTP Method.

§
path?: string
[src]

Path of the HTTP request.

§

Path params of HttpOperation

§
queryParams?: {
[key: string]: HttpOperationQueryParam;
}
[src]

Query params of HttpOperation

§

Request metadata.

§

Response metadata.