Requests for a URL that match this handler that do not use HTTPS are
automatically redirected to the HTTPS URL with the same path. Query
parameters are reserved for the redirect.
SecureDefault
Both HTTP and HTTPS requests with URLs that match the handler succeed
without redirects. The application can examine the request to determine
which protocol was used, and respond accordingly.
SecureNever
Requests for a URL that match this handler that use HTTPS are automatically
redirected to the HTTP equivalent URL.
SecureOptional
Both HTTP and HTTPS requests with URLs that match the handler succeed
without redirects. The application can examine the request to determine
which protocol was used and respond accordingly.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eSecurityLevel\u003c/code\u003e enum within the Google Cloud App Engine v1 API, detailing how to enforce security (HTTPS) on URLs.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is version 2.4.0, with older versions down to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityLevel\u003c/code\u003e enum offers five fields: \u003ccode\u003eSecureAlways\u003c/code\u003e, \u003ccode\u003eSecureDefault\u003c/code\u003e, \u003ccode\u003eSecureNever\u003c/code\u003e, \u003ccode\u003eSecureOptional\u003c/code\u003e, and \u003ccode\u003eSecureUnspecified\u003c/code\u003e, each defining different behaviors for handling HTTP and HTTPS requests.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is located in the \u003ccode\u003eGoogle.Cloud.AppEngine.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.AppEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]