App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::UrlMap (v1.1.0)

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

#api_endpoint=

def api_endpoint=(value) -> ::Google::Cloud::AppEngine::V1::ApiEndpointHandler
Parameter
Returns

#auth_fail_action

def auth_fail_action() -> ::Google::Cloud::AppEngine::V1::AuthFailAction
Returns

#auth_fail_action=

def auth_fail_action=(value) -> ::Google::Cloud::AppEngine::V1::AuthFailAction
Parameter
Returns

#login

def login() -> ::Google::Cloud::AppEngine::V1::LoginRequirement
Returns

#login=

def login=(value) -> ::Google::Cloud::AppEngine::V1::LoginRequirement
Parameter
Returns

#redirect_http_response_code

def redirect_http_response_code() -> ::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode
Returns

#redirect_http_response_code=

def redirect_http_response_code=(value) -> ::Google::Cloud::AppEngine::V1::UrlMap::RedirectHttpResponseCode
Parameter
Returns

#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 auto value 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 auto value 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 auto value 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

#security_level=

def security_level=(value) -> ::Google::Cloud::AppEngine::V1::SecurityLevel
Parameter
Returns

#static_files

def static_files() -> ::Google::Cloud::AppEngine::V1::StaticFilesHandler
Returns

#static_files=

def static_files=(value) -> ::Google::Cloud::AppEngine::V1::StaticFilesHandler
Parameter
Returns

#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.