google_api_firebase_hosting v0.8.1 GoogleApi.FirebaseHosting.V1beta1.Model.Redirect View Source
A redirect
object specifies a URL
pattern that, if matched to the request URL path, triggers Hosting to
respond with a redirect to the specified destination path.
Attributes
-
glob
(type:String.t
, default:nil
) - The user-supplied glob to match against the request URL path. -
location
(type:String.t
, default:nil
) - Required. The value to put in the HTTP location header of the response. <br>The location can contain capture group values from the pattern using a:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: <code>"glob": "/:capture*", <br>"statusCode": 301, <br>"location": "https://example.com/foo/:capture"</code> -
regex
(type:String.t
, default:nil
) - The user-supplied RE2 regular expression to match against the request URL path. -
statusCode
(type:integer()
, default:nil
) - Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.