HostRule class

UrlMaps A host-matching rule for a URL.

If matched, will use the named PathMatcher to select the BackendService.

Constructors

HostRule({String? description, List<String>? hosts, String? pathMatcher})
HostRule.fromJson(Map json_)

Properties

description String?
An optional description of this resource.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hosts List<String>?
The list of host patterns to match.
getter/setter pair
pathMatcher String?
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited