View Source GoogleApi.FirebaseHosting.V1beta1.Model.CloudRunRewrite (google_api_firebase_hosting v0.17.1)

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).

Attributes

  • region (type: String.t, default: nil) - Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1 if not supplied.
  • serviceId (type: String.t, default: nil) - Required. User-defined ID of the Cloud Run service.
  • tag (type: String.t, default: nil) - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.CloudRunRewrite{
  region: String.t() | nil,
  serviceId: String.t() | nil,
  tag: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.