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;
request?: HttpOperationHttpRequest;
response?: HttpOperationHttpResponse;
}§Properties
§
method?: "HTTP_METHOD_UNSPECIFIED" | "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "TRACE" | "OPTIONS" | "CONNECT"
[src]HTTP Method.
§
pathParams?: HttpOperationPathParam[]
[src]Path params of HttpOperation
§
queryParams?: {}
[src][key: string]: HttpOperationQueryParam;
Query params of HttpOperation
§
request?: HttpOperationHttpRequest
[src]Request metadata.
§
response?: HttpOperationHttpResponse
[src]Response metadata.