MethodArgs

data class MethodArgs(val name: Output<String>? = null, val options: Output<List<OptionArgs>>? = null, val requestStreaming: Output<Boolean>? = null, val requestTypeUrl: Output<String>? = null, val responseStreaming: Output<Boolean>? = null, val responseTypeUrl: Output<String>? = null, val syntax: Output<MethodSyntax>? = null) : ConvertibleToJava<MethodArgs>

Method represents a method of an API interface.

Constructors

Link copied to clipboard
fun MethodArgs(name: Output<String>? = null, options: Output<List<OptionArgs>>? = null, requestStreaming: Output<Boolean>? = null, requestTypeUrl: Output<String>? = null, responseStreaming: Output<Boolean>? = null, responseTypeUrl: Output<String>? = null, syntax: Output<MethodSyntax>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MethodArgs

Properties

Link copied to clipboard
val name: Output<String>? = null

The simple name of this method.

Link copied to clipboard
val options: Output<List<OptionArgs>>? = null

Any metadata attached to the method.

Link copied to clipboard
val requestStreaming: Output<Boolean>? = null

If true, the request is streamed.

Link copied to clipboard
val requestTypeUrl: Output<String>? = null

A URL of the input message type.

Link copied to clipboard
val responseStreaming: Output<Boolean>? = null

If true, the response is streamed.

Link copied to clipboard
val responseTypeUrl: Output<String>? = null

The URL of the output message type.

Link copied to clipboard
val syntax: Output<MethodSyntax>? = null

The source syntax of this method.