View Source GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig (google_api_firebase_hosting v0.17.1)
The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific priority order.
Attributes
-
appAssociation
(type:String.t
, default:nil
) - How to handle well known App Association files. -
cleanUrls
(type:boolean()
, default:nil
) - Defines whether to drop the file extension from uploaded files. -
headers
(type:list(GoogleApi.FirebaseHosting.V1beta1.Model.Header.t)
, default:nil
) - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers. -
i18n
(type:GoogleApi.FirebaseHosting.V1beta1.Model.I18nConfig.t
, default:nil
) - Optional. Defines i18n rewrite behavior. -
redirects
(type:list(GoogleApi.FirebaseHosting.V1beta1.Model.Redirect.t)
, default:nil
) - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. -
rewrites
(type:list(GoogleApi.FirebaseHosting.V1beta1.Model.Rewrite.t)
, default:nil
) - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. -
trailingSlashBehavior
(type:String.t
, default:nil
) - Defines how to handle a trailing slash in the URL path.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig{ appAssociation: String.t() | nil, cleanUrls: boolean() | nil, headers: [GoogleApi.FirebaseHosting.V1beta1.Model.Header.t()] | nil, i18n: GoogleApi.FirebaseHosting.V1beta1.Model.I18nConfig.t() | nil, redirects: [GoogleApi.FirebaseHosting.V1beta1.Model.Redirect.t()] | nil, rewrites: [GoogleApi.FirebaseHosting.V1beta1.Model.Rewrite.t()] | nil, trailingSlashBehavior: String.t() | nil }