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

A Header specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

Attributes

  • glob (type: String.t, default: nil) - The user-supplied glob to match against the request URL path.
  • headers (type: map(), default: nil) - Required. The additional headers to add to the response.
  • regex (type: String.t, default: nil) - The user-supplied RE2 regular expression to match against the request URL path.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.Header{
  glob: String.t() | nil,
  headers: map() | nil,
  regex: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.