Class UrlMap
URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
Implements
Inherited Members
Namespace: Google.Apis.Appengine.v1beta.Data
Assembly: Google.Apis.Appengine.v1beta.dll
Syntax
public class UrlMap : IDirectResponseSchema
Properties
ApiEndpoint
Uses API Endpoints to handle requests.
Declaration
[JsonProperty("apiEndpoint")]
public virtual ApiEndpointHandler ApiEndpoint { get; set; }
Property Value
Type | Description |
---|---|
ApiEndpointHandler |
AuthFailAction
Action to take when users access resources that require authentication. Defaults to redirect.
Declaration
[JsonProperty("authFailAction")]
public virtual string AuthFailAction { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Login
Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
Declaration
[JsonProperty("login")]
public virtual string Login { get; set; }
Property Value
Type | Description |
---|---|
string |
RedirectHttpResponseCode
30x code to use when performing redirects for the secure field. Defaults to 302.
Declaration
[JsonProperty("redirectHttpResponseCode")]
public virtual string RedirectHttpResponseCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Script
Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".
Declaration
[JsonProperty("script")]
public virtual ScriptHandler Script { get; set; }
Property Value
Type | Description |
---|---|
ScriptHandler |
SecurityLevel
Security (HTTPS) enforcement for this URL.
Declaration
[JsonProperty("securityLevel")]
public virtual string SecurityLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
StaticFiles
Returns the contents of a file, such as an image, as the response.
Declaration
[JsonProperty("staticFiles")]
public virtual StaticFilesHandler StaticFiles { get; set; }
Property Value
Type | Description |
---|---|
StaticFilesHandler |
UrlRegex
URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
Declaration
[JsonProperty("urlRegex")]
public virtual string UrlRegex { get; set; }
Property Value
Type | Description |
---|---|
string |