2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class UrlDispatchRule : IMessage<UrlDispatchRule>, IEquatable<UrlDispatchRule>, IDeepCloneable<UrlDispatchRule>, IBufferMessage, IMessage

Reference documentation and code samples for the App Engine v1 API class UrlDispatchRule.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UrlDispatchRule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UrlDispatchRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.UrlDispatchRule.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UrlDispatchRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.UrlDispatchRule.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UrlDispatchRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.UrlDispatchRule.md.txt), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AppEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.md.txt)

## Assembly

Google.Cloud.AppEngine.V1.dll

## Constructors

### UrlDispatchRule()

    public UrlDispatchRule()

### UrlDispatchRule(UrlDispatchRule)

    public UrlDispatchRule(UrlDispatchRule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `UrlDispatchRule` |

## Properties

### Domain

    public string Domain { get; set; }

Domain name to match against. The wildcard "`*`" is supported if
specified before a period: "`*.`".

Defaults to matching all domains: "`*`".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Path

    public string Path { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Service

    public string Service { get; set; }

Resource ID of a service in this application that should
serve the matched request. The service must already
exist. Example: `default`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |