Struct google_appengine1_beta4::UrlMap
[−]
[src]
pub struct UrlMap { pub static_directory: Option<StaticDirectoryHandler>, pub security_level: Option<String>, pub auth_fail_action: Option<String>, pub url_regex: Option<String>, pub script: Option<ScriptHandler>, pub static_files: Option<StaticFilesHandler>, pub api_endpoint: Option<ApiEndpointHandler>, pub login: Option<String>, pub redirect_http_response_code: Option<String>, }
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.
This type is not used in any activity, and only used as part of another schema.
Fields
static_directory: Option<StaticDirectoryHandler>
Serves the entire contents of a directory as static files. This attribute is deprecated. You can mimic the behavior of static directories using static files.
security_level: Option<String>
Security (HTTPS) enforcement for this URL.
auth_fail_action: Option<String>
Action to take when users access resources that require authentication. Defaults to redirect
.
url_regex: Option<String>
A 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.
script: Option<ScriptHandler>
Executes a script to handle the request that matches this URL pattern.
static_files: Option<StaticFilesHandler>
Returns the contents of a file, such as an image, as the response.
api_endpoint: Option<ApiEndpointHandler>
Uses API Endpoints to handle requests.
login: Option<String>
Level of login required to access this resource.
redirect_http_response_code: Option<String>
30x
code to use when performing redirects for the secure
field. Defaults to 302
.
Trait Implementations
impl Debug for UrlMap
[src]
impl Clone for UrlMap
[src]
fn clone(&self) -> UrlMap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more