HttpArgs

data class HttpArgs(val fullyDecodeReservedExpansion: Output<Boolean>? = null, val rules: Output<List<HttpRuleArgs>>? = null) : ConvertibleToJava<HttpArgs>

Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.

Constructors

Link copied to clipboard
fun HttpArgs(fullyDecodeReservedExpansion: Output<Boolean>? = null, rules: Output<List<HttpRuleArgs>>? = null)

Functions

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

Properties

Link copied to clipboard

When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.

Link copied to clipboard
val rules: Output<List<HttpRuleArgs>>? = null

A list of HTTP configuration rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.