CloudRunRewriteArgs

data class CloudRunRewriteArgs(val region: Output<String>? = null, val serviceId: Output<String>, val tag: Output<String>? = null) : ConvertibleToJava<CloudRunRewriteArgs>

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a 404 error).

Constructors

Link copied to clipboard
fun CloudRunRewriteArgs(region: Output<String>? = null, serviceId: Output<String>, tag: Output<String>? = null)

Functions

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

Properties

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

Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1 if not supplied.

Link copied to clipboard
val serviceId: Output<String>

User-defined ID of the Cloud Run service.

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

Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI