CloudRunRewriteResponse

data class CloudRunRewriteResponse(val region: String, val serviceId: String, val tag: String)

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
constructor(region: String, serviceId: String, tag: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

User-defined ID of the Cloud Run service.

Link copied to clipboard
val tag: String

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