HostingVersionConfigRedirect class

Constructors

HostingVersionConfigRedirect({Input<String?>? glob, required Input<String> location, Input<String?>? regex, required Input<int> statusCode})
Creates a new HostingVersionConfigRedirect. glob The user-supplied glob to match against the request URL path. location The value to put in the HTTP location header of the response. regex The user-supplied RE2 regular expression to match against the request URL path. statusCode The 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