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

Method

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

Method represents a method of an API interface.

interface Method {
name?: string;
options?: Option[];
requestStreaming?: boolean;
requestTypeUrl?: string;
responseStreaming?: boolean;
responseTypeUrl?: string;
syntax?: "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS";
}

§Properties

§
name?: string
[src]

The simple name of this method.

§
options?: Option[]
[src]

Any metadata attached to the method.

§
requestStreaming?: boolean
[src]

If true, the request is streamed.

§
requestTypeUrl?: string
[src]

A URL of the input message type.

§
responseStreaming?: boolean
[src]

If true, the response is streamed.

§
responseTypeUrl?: string
[src]

The URL of the output message type.

§
syntax?: "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS"
[src]

The source syntax of this method.