Class CloudRunRewrite
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).
Implements
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1.Data
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class CloudRunRewrite : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Region
Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1
if not
supplied.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceId
Required. User-defined ID of the Cloud Run service.
Declaration
[JsonProperty("serviceId")]
public virtual string ServiceId { get; set; }
Property Value
Type | Description |
---|---|
string |
Tag
Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
Declaration
[JsonProperty("tag")]
public virtual string Tag { get; set; }
Property Value
Type | Description |
---|---|
string |