All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.firebase.kotlin.outputs.HostingVersionConfigRewrite.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.firebase.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property function The function to proxy requests to. Must match the exported function name exactly.
 * @property glob The user-supplied glob to match against the request URL path.
 * @property path The URL path to rewrite the request to.
 * @property regex The user-supplied RE2 regular expression to match against the request URL path.
 * @property run The request will be forwarded to Cloud Run.
 * Structure is documented below.
 */
public data class HostingVersionConfigRewrite(
    public val function: String? = null,
    public val glob: String? = null,
    public val path: String? = null,
    public val regex: String? = null,
    public val run: HostingVersionConfigRewriteRun? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.firebase.outputs.HostingVersionConfigRewrite): HostingVersionConfigRewrite = HostingVersionConfigRewrite(
            function = javaType.function().map({ args0 -> args0 }).orElse(null),
            glob = javaType.glob().map({ args0 -> args0 }).orElse(null),
            path = javaType.path().map({ args0 -> args0 }).orElse(null),
            regex = javaType.regex().map({ args0 -> args0 }).orElse(null),
            run = javaType.run().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.firebase.kotlin.outputs.HostingVersionConfigRewriteRun.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy