# Class UrlDispatchRule (1.18.0)

1.18.0 (latest) 1.17.0 1.16.0 1.15.0 1.14.2 1.13.0 1.12.1 1.11.5 1.10.0 1.9.4 1.8.1 1.7.1 1.6.0 1.5.3 1.4.1 1.3.3 1.2.1 1.1.5 1.0.2 0.2.0 0.1.0

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

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `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`. |