google_api_firebase_hosting v0.6.0 GoogleApi.FirebaseHosting.V1beta1.Model.Rewrite View Source

A rewrite represents an internal content rewrite on the version. If the pattern matches, the request will be handled as if it were to the destination path specified in the configuration.

Attributes

  • dynamicLinks (type: boolean(), default: nil) - The request will be forwarded to Firebase Dynamic Links.
  • function (type: String.t, default: nil) - The function to proxy requests to. Must match the exported function name exactly.
  • glob (type: String.t, default: nil) - The user-supplied glob pattern to match against the request URL path.
  • path (type: String.t, default: nil) - The URL path to rewrite the request to.
  • regex (type: String.t, default: nil) - The user-supplied RE2 regular expression to match against the request URL path.
  • run (type: GoogleApi.FirebaseHosting.V1beta1.Model.CloudRunRewrite.t, default: nil) - The request will be forwarded to Cloud Run.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.Rewrite{
  dynamicLinks: boolean(),
  function: String.t(),
  glob: String.t(),
  path: String.t(),
  regex: String.t(),
  run: GoogleApi.FirebaseHosting.V1beta1.Model.CloudRunRewrite.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.