HostingVersionConfigRedirect class
Constructors
-
HostingVersionConfigRedirect({Input<
String?> ? glob, required Input<String> location, Input<String?> ? regex, required Input<int> statusCode}) -
Creates a new HostingVersionConfigRedirect.
globThe user-supplied glob to match against the request URL path.locationThe value to put in the HTTP location header of the response.regexThe user-supplied RE2 regular expression to match against the request URL path.statusCodeThe status HTTP code to return in the response. It must be a valid 3xx status code.const -
HostingVersionConfigRedirect.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
glob
→ Input<
String?> ? -
The user-supplied glob to match against the request URL path.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
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:
final
-
regex
→ Input<
String?> ? -
The user-supplied RE2 regular expression to match against the request URL path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusCode
→ Input<
int> -
The status HTTP code to return in the response. It must be a valid 3xx status code.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited