RewriteArgs

data class RewriteArgs(val dynamicLinks: Output<Boolean>? = null, val function: Output<String>? = null, val functionRegion: Output<String>? = null, val glob: Output<String>? = null, val path: Output<String>? = null, val regex: Output<String>? = null, val run: Output<CloudRunRewriteArgs>? = null) : ConvertibleToJava<RewriteArgs>

A Rewrite specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

Constructors

Link copied to clipboard
fun RewriteArgs(dynamicLinks: Output<Boolean>? = null, function: Output<String>? = null, functionRegion: Output<String>? = null, glob: Output<String>? = null, path: Output<String>? = null, regex: Output<String>? = null, run: Output<CloudRunRewriteArgs>? = null)

Functions

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

Properties

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

The request will be forwarded to Firebase Dynamic Links.

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

The function to proxy requests to. Must match the exported function name exactly.

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

Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.

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

The user-supplied glob to match against the request URL path.

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

The URL path to rewrite the request to.

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

The user-supplied RE2 regular expression to match against the request URL path.

Link copied to clipboard
val run: Output<CloudRunRewriteArgs>? = null

The request will be forwarded to Cloud Run.