CloudRunRewrite 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

CloudRunRewrite({String? region, String? serviceId})
CloudRunRewrite.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
region String?
User-provided region where the Cloud Run service is hosted.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceId String?
User-defined ID of the Cloud Run service.
getter/setter pair

Methods

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

Operators

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