StandardAppVersionHandlerArgs

data class StandardAppVersionHandlerArgs(val authFailAction: Output<String>? = null, val login: Output<String>? = null, val redirectHttpResponseCode: Output<String>? = null, val script: Output<StandardAppVersionHandlerScriptArgs>? = null, val securityLevel: Output<String>? = null, val staticFiles: Output<StandardAppVersionHandlerStaticFilesArgs>? = null, val urlRegex: Output<String>? = null) : ConvertibleToJava<StandardAppVersionHandlerArgs>

Constructors

Link copied to clipboard
constructor(authFailAction: Output<String>? = null, login: Output<String>? = null, redirectHttpResponseCode: Output<String>? = null, script: Output<StandardAppVersionHandlerScriptArgs>? = null, securityLevel: Output<String>? = null, staticFiles: Output<StandardAppVersionHandlerStaticFilesArgs>? = null, urlRegex: Output<String>? = null)

Properties

Link copied to clipboard
val authFailAction: Output<String>? = null

Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.

Link copied to clipboard
val login: Output<String>? = null

Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, LOGIN_REQUIRED.

Link copied to clipboard
val redirectHttpResponseCode: Output<String>? = null

30x code to use when performing redirects for the secure field. Possible values are: REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, REDIRECT_HTTP_RESPONSE_CODE_307.

Link copied to clipboard

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". Structure is documented below.

Link copied to clipboard
val securityLevel: Output<String>? = null

Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, SECURE_ALWAYS.

Link copied to clipboard

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

Link copied to clipboard
val urlRegex: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): StandardAppVersionHandlerArgs