HostingVersionConfig class

Constructors

HostingVersionConfig({Input<List<HostingVersionConfigHeader>?>? headers, Input<List<HostingVersionConfigRedirect>?>? redirects, Input<List<HostingVersionConfigRewrite>?>? rewrites})
Creates a new HostingVersionConfig. headers An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, redirects An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, rewrites An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the
const
HostingVersionConfig.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
headers → Input<List<HostingVersionConfigHeader>?>?
An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers. Structure is documented below.
final
redirects → Input<List<HostingVersionConfigRedirect>?>?
An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. Structure is documented below.
final
rewrites → Input<List<HostingVersionConfigRewrite>?>?
An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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