Class UrlDispatchRule (1.5.3)

UrlDispatchRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Rules to match an HTTP request and dispatch that request to a service.

Attributes

NameDescription
domain str
Domain name to match against. The wildcard "*" is supported if specified before a period: "*.". Defaults to matching all domains: "*".
path str
Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.
service str
Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.