MethodSettingsArgs

data class MethodSettingsArgs(val longRunning: Output<LongRunningArgs>? = null, val selector: Output<String>? = null) : ConvertibleToJava<MethodSettingsArgs>

Describes the generator configuration for a method.

Constructors

Link copied to clipboard
constructor(longRunning: Output<LongRunningArgs>? = null, selector: Output<String>? = null)

Properties

Link copied to clipboard
val longRunning: Output<LongRunningArgs>? = null

Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes

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

The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.

Functions

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