google_api_firebase_hosting v0.2.0 GoogleApi.FirebaseHosting.V1beta1.Model.Redirect View Source
A redirect represents the
configuration for returning an HTTP redirect response given a matching
request URL path.
Attributes
glob(type:String.t, default:nil) - The user-supplied glob pattern 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.
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:"glob": "/:capture*",>
"statusCode": 301,
"location": "https://example.com/foo/:capture"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
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.