StandardAppVersionHandler class

Constructors

StandardAppVersionHandler({Input<String?>? authFailAction, Input<String?>? login, Input<String?>? redirectHttpResponseCode, Input<StandardAppVersionHandlerScript?>? script, Input<String?>? securityLevel, Input<StandardAppVersionHandlerStaticFiles?>? staticFiles, Input<String?>? urlRegex})
Creates a new StandardAppVersionHandler. authFailAction Actions to take when the user is not logged in. login Methods to restrict access to a URL based on login status. redirectHttpResponseCode 30x code to use when performing redirects for the secure field. script Executes a script to handle the requests that match this URL pattern. securityLevel Security (HTTPS) enforcement for this URL. staticFiles 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. urlRegex URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings.
const
StandardAppVersionHandler.fromMap(Map<String, dynamic> map)
factory

Properties

authFailAction → Input<String?>?
Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
final
hashCode → int
The hash code for this object.
no setterinherited
login → Input<String?>?
Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, LOGIN_REQUIRED.
final
redirectHttpResponseCode → Input<String?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
script → Input<StandardAppVersionHandlerScript?>?
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.
final
securityLevel → Input<String?>?
Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, SECURE_ALWAYS.
final
staticFiles → Input<StandardAppVersionHandlerStaticFiles?>?
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.
final
urlRegex → Input<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited