com.pulumi.gcp.networkservices.kotlin.outputs.HttpRouteRuleMatchQueryParameter.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.networkservices.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property exactMatch The value of the query parameter must exactly match the contents of exactMatch.
* @property presentMatch Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.
* @property queryParameter The name of the query parameter to match.
* @property regexMatch The value of the query parameter must match the regular expression specified by regexMatch.For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax
*/
public data class HttpRouteRuleMatchQueryParameter(
public val exactMatch: String? = null,
public val presentMatch: Boolean? = null,
public val queryParameter: String? = null,
public val regexMatch: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.HttpRouteRuleMatchQueryParameter): HttpRouteRuleMatchQueryParameter = HttpRouteRuleMatchQueryParameter(
exactMatch = javaType.exactMatch().map({ args0 -> args0 }).orElse(null),
presentMatch = javaType.presentMatch().map({ args0 -> args0 }).orElse(null),
queryParameter = javaType.queryParameter().map({ args0 -> args0 }).orElse(null),
regexMatch = javaType.regexMatch().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy