CloudRunRewriteResponse

data class CloudRunRewriteResponse(val region: String, val serviceId: 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
fun CloudRunRewriteResponse(region: String, serviceId: 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.