App Engine v1 API - Class UrlDispatchRule (2.3.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 > UrlDispatchRule

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

UrlDispatchRule()

public UrlDispatchRule()

UrlDispatchRule(UrlDispatchRule)

public UrlDispatchRule(UrlDispatchRule other)
Parameter
NameDescription
otherUrlDispatchRule

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
TypeDescription
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
TypeDescription
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
TypeDescription
string