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.
Implements
IMessage<UrlDispatchRule>, IEquatable<UrlDispatchRule>, IDeepCloneable<UrlDispatchRule>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
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 |