CloudRunRewriteResponse class

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

CloudRunRewriteResponse({required Input<String> region, required Input<String> serviceId, required Input<String> tag})
Creates a new CloudRunRewriteResponse. region Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1 if not supplied. serviceId User-defined ID of the Cloud Run service. tag Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
const
CloudRunRewriteResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
region → Input<String>
Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1 if not supplied.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceId → Input<String>
User-defined ID of the Cloud Run service.
final
tag → Input<String>
Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited