google_api_firebase_hosting v0.5.0 GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig View Source
The configuration for how incoming requests to a site should be routed and processed before serving content. The patterns are matched and applied 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
) - A list of custom response headers that are added to the content if the request URL path matches the glob.redirects
(type:list(GoogleApi.FirebaseHosting.V1beta1.Model.Redirect.t)
, default:nil
) - A list of globs that will cause the response to redirect to another location.rewrites
(type:list(GoogleApi.FirebaseHosting.V1beta1.Model.Rewrite.t)
, default:nil
) - A list of rewrites that will act as if the service were given the destination URL.trailingSlashBehavior
(type:String.t
, default:nil
) - Defines how to handle a trailing slash in the URL path.
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 Sourcet() :: %GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig{ appAssociation: String.t(), cleanUrls: boolean(), headers: [GoogleApi.FirebaseHosting.V1beta1.Model.Header.t()], redirects: [GoogleApi.FirebaseHosting.V1beta1.Model.Redirect.t()], rewrites: [GoogleApi.FirebaseHosting.V1beta1.Model.Rewrite.t()], trailingSlashBehavior: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.