Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#api_endpoint
def api_endpoint() -> ::Google::Cloud::AppEngine::V1::ApiEndpointHandler Returns
- (::Google::Cloud::AppEngine::V1::ApiEndpointHandler) — Uses API Endpoints to handle requests.
#api_endpoint=
def api_endpoint=(value) -> ::Google::Cloud::AppEngine::V1::ApiEndpointHandler Parameter
- value (::Google::Cloud::AppEngine::V1::ApiEndpointHandler) — Uses API Endpoints to handle requests.
Returns
- (::Google::Cloud::AppEngine::V1::ApiEndpointHandler) — Uses API Endpoints to handle requests.
#auth_fail_action
def auth_fail_action() -> ::Google::Cloud::AppEngine::V1::AuthFailAction Returns
- (::Google::Cloud::AppEngine::V1::AuthFailAction) — Action to take when users access resources that require authentication. Defaults to
redirect.
#auth_fail_action=
def auth_fail_action=(value) -> ::Google::Cloud::AppEngine::V1::AuthFailAction Parameter
- value (::Google::Cloud::AppEngine::V1::AuthFailAction) — Action to take when users access resources that require authentication. Defaults to
redirect.
Returns
- (::Google::Cloud::AppEngine::V1::AuthFailAction) — Action to take when users access resources that require authentication. Defaults to
redirect.
#login
def login() -> ::Google::Cloud::AppEngine::V1::LoginRequirement Returns
- (::Google::Cloud::AppEngine::V1::LoginRequirement) — Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
#login=
def login=(value) -> ::Google::Cloud::AppEngine::V1::LoginRequirement Parameter
- value (::Google::Cloud::AppEngine::V1::LoginRequirement) — Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
Returns
- (::Google::Cloud::AppEngine::V1::LoginRequirement) — Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
#redirect_http_response_code
def redirect_http_response_code() -> ::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode Returns
- (::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode) —
30xcode to use when performing redirects for thesecurefield. Defaults to302.
#redirect_http_response_code=
def redirect_http_response_code=(value) -> ::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode Parameter
- value (::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode) —
30xcode to use when performing redirects for thesecurefield. Defaults to302.
Returns
- (::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode) —
30xcode to use when performing redirects for thesecurefield. Defaults to302.
#script
def script() -> ::Google::Cloud::AppEngine::V1::ScriptHandler Returns
- (::Google::Cloud::AppEngine::V1::ScriptHandler) — Executes a script to handle the requests that match this URL pattern. Only the
autovalue is supported for Node.js in the App Engine standard environment, for example"script": "auto".
#script=
def script=(value) -> ::Google::Cloud::AppEngine::V1::ScriptHandler Parameter
- value (::Google::Cloud::AppEngine::V1::ScriptHandler) — Executes a script to handle the requests that match this URL pattern. Only the
autovalue is supported for Node.js in the App Engine standard environment, for example"script": "auto".
Returns
- (::Google::Cloud::AppEngine::V1::ScriptHandler) — Executes a script to handle the requests that match this URL pattern. Only the
autovalue is supported for Node.js in the App Engine standard environment, for example"script": "auto".
#security_level
def security_level() -> ::Google::Cloud::AppEngine::V1::SecurityLevel Returns
- (::Google::Cloud::AppEngine::V1::SecurityLevel) — Security (HTTPS) enforcement for this URL.
#security_level=
def security_level=(value) -> ::Google::Cloud::AppEngine::V1::SecurityLevel Parameter
- value (::Google::Cloud::AppEngine::V1::SecurityLevel) — Security (HTTPS) enforcement for this URL.
Returns
- (::Google::Cloud::AppEngine::V1::SecurityLevel) — Security (HTTPS) enforcement for this URL.
#static_files
def static_files() -> ::Google::Cloud::AppEngine::V1::StaticFilesHandler Returns
- (::Google::Cloud::AppEngine::V1::StaticFilesHandler) — Returns the contents of a file, such as an image, as the response.
#static_files=
def static_files=(value) -> ::Google::Cloud::AppEngine::V1::StaticFilesHandler Parameter
- value (::Google::Cloud::AppEngine::V1::StaticFilesHandler) — Returns the contents of a file, such as an image, as the response.
Returns
- (::Google::Cloud::AppEngine::V1::StaticFilesHandler) — Returns the contents of a file, such as an image, as the response.
#url_regex
def url_regex() -> ::String Returns
- (::String) — 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.
#url_regex=
def url_regex=(value) -> ::String Parameter
- value (::String) — 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.
Returns
- (::String) — 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.