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

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

Attributes

  • domainName (type: String.t, default: nil) - Required. The domain name to redirect to.
  • type (type: String.t, default: nil) - Required. The redirect status code.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.DomainRedirect{
  domainName: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.